From: akpm@linux-foundation.org
To: carlos@strangeworlds.co.uk, lenb@kernel.org, mingo@elte.hu,
mm-commits@vger.kernel.org
Subject: - acer-wmi-fail-gracefully-if-acpi-is-disabled.patch removed from -mm tree
Date: Sat, 23 Feb 2008 18:17:54 -0800 [thread overview]
Message-ID: <200802240217.m1O2HsF4025386@imap1.linux-foundation.org> (raw)
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@strangeworlds.co.uk>
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@strangeworlds.co.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Len Brown <lenb@kernel.org>
Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@strangeworlds.co.uk are
origin.patch
acer-wmi-fail-gracefully-if-acpi-is-disabled.patch
git-acpi.patch
reply other threads:[~2008-02-24 2:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802240217.m1O2HsF4025386@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=carlos@strangeworlds.co.uk \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mm-commits@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.