The patch titled drivers/acpi/fan.c: fix more unbalanced code block has been added to the -mm tree. Its filename is drivers-acpi-fanc-fix-more-unbalanced-code-block.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://userweb.kernel.org/~akpm/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: drivers/acpi/fan.c: fix more unbalanced code block From: Luis Henriques <luis.henrix@xxxxxxxxx> commit 934231de706d2 ("ACPI: fan: fix unbalanced code block") fixes an unbalanced CONFIG_ACPI_PROCFS code block during module initialisation. This patch fixes similar issue but for the module exit. Signed-off-by: Luis Henriques <luis.henrix@xxxxxxxxx> Cc: Liang Li <liang.li@xxxxxxxxxxxxx> Cc: Len Brown <len.brown@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/acpi/fan.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/acpi/fan.c~drivers-acpi-fanc-fix-more-unbalanced-code-block drivers/acpi/fan.c --- a/drivers/acpi/fan.c~drivers-acpi-fanc-fix-more-unbalanced-code-block +++ a/drivers/acpi/fan.c @@ -369,7 +369,9 @@ static void __exit acpi_fan_exit(void) acpi_bus_unregister_driver(&acpi_fan_driver); +#ifdef CONFIG_ACPI_PROCFS remove_proc_entry(ACPI_FAN_CLASS, acpi_root_dir); +#endif return; } _ Patches currently in -mm which might be from luis.henrix@xxxxxxxxx are drivers-acpi-fanc-fix-more-unbalanced-code-block.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