The patch titled lightning: return proper return code has been added to the -mm tree. Its filename is lightning-return-proper-return-code.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: lightning: return proper return code From: Akinobu Mita <akinobu.mita@xxxxxxxxx> Make module init return proper value instead of -1 (-EPERM). Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/input/gameport/lightning.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/input/gameport/lightning.c~lightning-return-proper-return-code drivers/input/gameport/lightning.c --- a/drivers/input/gameport/lightning.c~lightning-return-proper-return-code +++ a/drivers/input/gameport/lightning.c @@ -309,7 +309,7 @@ static int __init l4_init(void) int i, cards = 0; if (!request_region(L4_PORT, 1, "lightning")) - return -1; + return -EBUSY; for (i = 0; i < 2; i++) if (l4_add_card(i) == 0) @@ -319,7 +319,7 @@ static int __init l4_init(void) if (!cards) { release_region(L4_PORT, 1); - return -1; + return -ENODEV; } return 0; _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are debugfs-check-return-value-correctly.patch lightning-return-proper-return-code.patch git-mtd.patch git-pcmcia.patch pci-fix-__pci_register_driver-error-handling.patch edac_mc-fix-error-handling.patch bit-revese-library.patch crc32-replace-bitreverse-by-bitrev32.patch video-use-bitrev8.patch net-use-bitrev8.patch isdn-hisax-use-bitrev8.patch atm-ambassador-use-bitrev8.patch isdn-gigaset-use-bitrev8.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