Messages in this thread |  | | Subject | Re: [PATCH -next] ata: palmld: fix return value check in palmld_pata_probe() | From | Sergey Shtylyov <> | Date | Sun, 24 Apr 2022 19:55:11 +0300 |
| |
Hello!
You should CC: me on the PATA driver patches, not Bart -- he no longer maintains the PATA drivers.
On 4/24/22 12:34 PM, Yang Yingliang wrote:
> 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") > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> [...]
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
MBR, Sergey
|  |