The patch titled
defxx: fix the handling of ioremap() failures
has been added to the -mm tree. Its filename is
defxx-fix-the-handling-of-ioremap-failures.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: defxx: fix the handling of ioremap() failures
From: "Maciej W. Rozycki" <[EMAIL PROTECTED]>
If ioremap_nocache() is unfortunate enough to fail, the error code is not
set correctly leading to a false success from dfx_register(). This change
fixes the problem.
Signed-off-by: Maciej W. Rozycki <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/net/defxx.c | 1 +
1 file changed, 1 insertion(+)
diff -puN drivers/net/defxx.c~defxx-fix-the-handling-of-ioremap-failures
drivers/net/defxx.c
--- a/drivers/net/defxx.c~defxx-fix-the-handling-of-ioremap-failures
+++ a/drivers/net/defxx.c
@@ -566,6 +566,7 @@ static int __devinit dfx_register(struct
bp->base.mem = ioremap_nocache(bar_start, bar_len);
if (!bp->base.mem) {
printk(KERN_ERR "%s: Cannot map MMIO\n", print_name);
+ err = -ENOMEM;
goto err_out_region;
}
} else {
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
defxx-fix-the-handling-of-ioremap-failures.patch
zs-move-to-the-serial-subsystem.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html