+ isdn-fix-missing-unregister_capi_driver.patch added to -mm tree

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

 



The patch titled
     isdn: fix missing unregister_capi_driver
has been added to the -mm tree.  Its filename is
     isdn-fix-missing-unregister_capi_driver.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: isdn: fix missing unregister_capi_driver
From: Akinobu Mita <akinobu.mita@xxxxxxxxx>

unregister_capi_driver() needs to be called in module cleanup.
(It fixes data corruption by reloading t1isa driver)

Cc: Kai Germaschewski <kai.germaschewski@xxxxxx>
Cc: Karsten Keil <kkeil@xxxxxxx>
Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/isdn/hardware/avm/t1isa.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/isdn/hardware/avm/t1isa.c~isdn-fix-missing-unregister_capi_driver drivers/isdn/hardware/avm/t1isa.c
--- a/drivers/isdn/hardware/avm/t1isa.c~isdn-fix-missing-unregister_capi_driver
+++ a/drivers/isdn/hardware/avm/t1isa.c
@@ -584,6 +584,7 @@ static void __exit t1isa_exit(void)
 {
 	int i;
 
+	unregister_capi_driver(&capi_driver_t1isa);
 	for (i = 0; i < MAX_CARDS; i++) {
 		if (!io[i])
 			break;
_

Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are

sc1200wdt-fix-missing-pnp_unregister_driver.patch
isdn-gigaset-avoid-cs-dev-null-pointer-dereference.patch
debugfs-check-return-value-correctly.patch
lightning-return-proper-return-code.patch
git-mtd.patch
n2-fix-confusing-error-code.patch
git-pcmcia.patch
pci-fix-__pci_register_driver-error-handling.patch
edac_mc-fix-error-handling.patch
paride-return-proper-error-code.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
isdn-fix-missing-unregister_capi_driver.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