The patch titled
acer-wmi: fail gracefully if ACPI is disabled
has been added to the -mm tree. Its filename is
acer-wmi-fail-gracefully-if-acpi-is-disabled.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: fail gracefully if ACPI is disabled
From: Carlos Corbacho <[EMAIL PROTECTED]>
WMI drivers, like their ACPI counterparts, should also check if ACPI is
disabled or not, and bail out if so, otherwise we cause a crash.
Spotted by Ingo Molnar.
Signed-off-by: Carlos Corbacho <[EMAIL PROTECTED]>
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Cc: Linus Torvalds <[EMAIL PROTECTED]>
Cc: Andrew Morton <[EMAIL PROTECTED]>
Cc: Len Brown <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/misc/acer-wmi.c | 3 +++
1 file changed, 3 insertions(+)
diff -puN drivers/misc/acer-wmi.c~acer-wmi-fail-gracefully-if-acpi-is-disabled
drivers/misc/acer-wmi.c
--- a/drivers/misc/acer-wmi.c~acer-wmi-fail-gracefully-if-acpi-is-disabled
+++ a/drivers/misc/acer-wmi.c
@@ -1031,6 +1031,9 @@ static int __init acer_wmi_init(void)
{
int err;
+ if (acpi_disabled)
+ return -ENODEV;
+
printk(ACER_INFO "Acer Laptop ACPI-WMI Extras version %s\n",
ACER_WMI_VERSION);
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
acer-wmi-fail-gracefully-if-acpi-is-disabled.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html