Thread (2 messages) 2 messages, 2 authors, 2014-03-14

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

From: tj@kernel.org (Tejun Heo)
Date: 2014-03-14 18:31:05
Also in: linux-ide, lkml

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 <redacted>
Applied to libata/for-3.15.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help