Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756331AbYBLTcI (ORCPT ); Tue, 12 Feb 2008 14:32:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751517AbYBLTby (ORCPT ); Tue, 12 Feb 2008 14:31:54 -0500 Received: from phoenix.slamd64.com ([217.10.145.2]:60949 "EHLO phoenix.slamd64.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbYBLTbw (ORCPT ); Tue, 12 Feb 2008 14:31:52 -0500 From: Carlos Corbacho To: Linus Torvalds Subject: Re: [PATCH 1/2] acer-wmi - Fail gracefully if ACPI is disabled Date: Tue, 12 Feb 2008 19:28:05 +0000 User-Agent: KMail/1.9.7 Cc: Ingo Molnar , Len Brown , Andrew Morton , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org References: <200802080145.16774.lenb@kernel.org> <200802111955.04562.carlos@strangeworlds.co.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802121928.06420.carlos@strangeworlds.co.uk> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (phoenix.slamd64.com [217.10.145.2]); Tue, 12 Feb 2008 19:28:26 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 22 On Tuesday 12 February 2008 04:41:42 Linus Torvalds wrote: > > On Mon, 11 Feb 2008, Carlos Corbacho wrote: > > > > 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. > > Shouldn't "wmi_has_guid()" just return false if ACPI isn't enabled, and > the drivers should just then always give up? Yes - that's a better fix. -Carlos -- E-Mail: carlos@strangeworlds.co.uk Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D -- 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/