- defxx-fix-the-handling-of-ioremap-failures.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     defxx: fix the handling of ioremap() failures
has been removed from the -mm tree.  Its filename was
     defxx-fix-the-handling-of-ioremap-failures.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: defxx: fix the handling of ioremap() failures
From: "Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx>

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 <macro@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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 macro@xxxxxxxxxxxxxx are

origin.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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux