[PATCH] ata: pata_imx: fix devm_ioremap_resource() return value checking

Tejun Heo tj at kernel.org
Fri Mar 14 14:31:13 EDT 2014

On Fri, Mar 14, 2014 at 06:33:13PM +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
> pata_imx_probe() accordingly.
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>

Applied to libata/for-3.15.



More information about the linux-arm-kernel mailing list