[PATCH] ata: ahci_platform: fix devm_ioremap_resource() return value checking
Tejun Heo
tj at kernel.org
Fri Mar 14 14:30:57 EDT 2014
On Fri, Mar 14, 2014 at 06:22:09PM +0100, Bartlomiej Zolnierkiewicz wrote:
> devm_ioremap_resource() returns a pointer to the remapped memory or
> an ERR_PTR() encoded error code on failure. Fix the check inside
> ahci_platform_get_resources() accordingly.
>
> Also while at it remove a needless line break.
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
Applied to libata/for-3.15.
Thanks.
--
tejun
More information about the linux-arm-kernel
mailing list