diff options
author | 2022-10-29 15:49:31 +0800 | |
---|---|---|
committer | 2022-10-31 20:28:05 +0900 | |
commit | 015618c3ec19584c83ff179fa631be8cec906aaf (patch) | |
tree | 9760b63ccc3a3aba4da3c363a1b951f8d834469c /scripts/gdb/linux/tasks.py | |
parent | ata: pata_legacy: fix pdc20230_set_piomode() (diff) | |
download | linux-dev-015618c3ec19584c83ff179fa631be8cec906aaf.tar.xz linux-dev-015618c3ec19584c83ff179fa631be8cec906aaf.zip |
ata: palmld: fix return value check in palmld_pata_probe()
If devm_platform_ioremap_resource() fails, it never return
NULL pointer, replace the check with IS_ERR().
Fixes: 57bf0f5a162d ("ARM: pxa: use pdev resource for palmld mmio")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions