+ acer-wmi-remove-debugfs-entries-upon-unloading.patch added to -mm tree

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

 



The patch titled
     acer-wmi: remove debugfs entries upon unloading
has been added to the -mm tree.  Its filename is
     acer-wmi-remove-debugfs-entries-upon-unloading.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** 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

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: acer-wmi: remove debugfs entries upon unloading
From: Russ Dill <russ.dill@xxxxxxxxx>

The exit function neglects to remove debugfs entries, leading to a BUG
on reload.

Signed-off-by: Russ Dill <Russ.Dill@xxxxxxxxx>
Cc: Carlos Corbacho <carlos@xxxxxxxxxxxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/misc/acer-wmi.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/misc/acer-wmi.c~acer-wmi-remove-debugfs-entries-upon-unloading drivers/misc/acer-wmi.c
--- a/drivers/misc/acer-wmi.c~acer-wmi-remove-debugfs-entries-upon-unloading
+++ a/drivers/misc/acer-wmi.c
@@ -1267,6 +1267,7 @@ error_platform_register:
 static void __exit acer_wmi_exit(void)
 {
 	remove_sysfs(acer_platform_device);
+	remove_debugfs();
 	platform_device_del(acer_platform_device);
 	platform_driver_unregister(&acer_platform_driver);
 
_

Patches currently in -mm which might be from russ.dill@xxxxxxxxx are

acer-wmi-remove-debugfs-entries-upon-unloading.patch
acer-wmi-remove-debugfs-entries-upon-unloading-cleanup.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