- acer-wmi-fail-gracefully-if-acpi-is-disabled.patch removed from -mm tree

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

 



The patch titled
     acer-wmi: fail gracefully if ACPI is disabled
has been removed from the -mm tree.  Its filename was
     acer-wmi-fail-gracefully-if-acpi-is-disabled.patch

This patch was dropped because it is obsolete

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 <carlos@xxxxxxxxxxxxxxxxxxx>

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 <carlos@xxxxxxxxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Len Brown <lenb@xxxxxxxxxx>
Acked-by: Carlos Corbacho <carlos@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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
@@ -1038,6 +1038,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 carlos@xxxxxxxxxxxxxxxxxxx are

origin.patch
acer-wmi-fail-gracefully-if-acpi-is-disabled.patch
git-acpi.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