login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
14
Re: [PATCH 2/2] tc1100-wmi - Fail gracefully if ACPI is disabled
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Len Brown <lenb@...>
To: Carlos Corbacho <carlos@...>
Cc: Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, <linux-acpi@...>, <linux-kernel@...>, <linux-pm@...>
Subject:
Re: [PATCH 2/2] tc1100-wmi - Fail gracefully if ACPI is disabled
Date: Thursday, February 14, 2008 - 2:11 am
applied. thanks, -len On Monday 11 February 2008 14:55, Carlos Corbacho wrote:
quoted text
> tc1100-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: Linus Torvalds <torvalds@linux-foundation.org> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: Len Brown <lenb@kernel.org> > --- > > drivers/misc/tc1100-wmi.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > > diff --git a/drivers/misc/tc1100-wmi.c b/drivers/misc/tc1100-wmi.c > index f25e4c9..cb8f79f 100644 > --- a/drivers/misc/tc1100-wmi.c > +++ b/drivers/misc/tc1100-wmi.c > @@ -263,6 +263,9 @@ static int __init tc1100_init(void) > { > int result = 0; > > + if (acpi_disabled) > + return -ENODEV; > + > if (!wmi_has_guid(GUID)) > return -ENODEV; > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)
, Len Brown
, (Fri Feb 8, 2:45 am)
Re: [GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)
, Ingo Molnar
, (Sat Feb 9, 2:17 am)
Re: [GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)
, Ingo Molnar
, (Sat Feb 9, 2:19 am)
Re: [GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)
, Carlos Corbacho
, (Sat Feb 9, 7:42 am)
Re: [GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)
, Ingo Molnar
, (Mon Feb 11, 5:17 am)
Re: [GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)
, Carlos Corbacho
, (Mon Feb 11, 3:23 pm)
[PATCH 2/2] tc1100-wmi - Fail gracefully if ACPI is disabled
, Carlos Corbacho
, (Mon Feb 11, 3:55 pm)
Re: [PATCH 2/2] tc1100-wmi - Fail gracefully if ACPI is dis...
, Len Brown
, (Thu Feb 14, 2:11 am)
Re: [PATCH 2/2] tc1100-wmi - Fail gracefully if ACPI is dis...
, Len Brown
, (Thu Feb 14, 2:15 am)
[PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
, Carlos Corbacho
, (Mon Feb 11, 3:55 pm)
Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
, Linus Torvalds
, (Tue Feb 12, 12:41 am)
Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
, Carlos Corbacho
, (Tue Feb 12, 3:28 pm)
Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled
, Ingo Molnar
, (Tue Feb 12, 11:12 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Parag Warudkar
BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
David Miller
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
764 guests
online.
Online users
strcmp
ernestogordon37
cbelgr87
Syndicate