From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Wrong commit in the ACPI release branch Date: Mon, 13 Dec 2010 22:09:16 +0100 Message-ID: <201012132209.17173.rjw@sisk.pl> References: <201012112329.35080.rjw@sisk.pl> <4D05E1E502000078000277B6@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:52172 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753996Ab0LMVKD (ORCPT ); Mon, 13 Dec 2010 16:10:03 -0500 In-Reply-To: <4D05E1E502000078000277B6@vpn.id2.novell.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Jan Beulich Cc: Len Brown , Linux-pm mailing list , ACPI Devel Maling List On Monday, December 13, 2010, Jan Beulich wrote: > >>> On 11.12.10 at 23:29, "Rafael J. Wysocki" wrote: > > The following commit: > > > > http://git.kernel.org/?p=linux/kernel/git/lenb/linux-acpi-2.6.git;a=commit;h > > =091aad6af4ab29af693ced5d6970ceee9d5981c8 > > > > (ACPI: eliminate unused variable warning for !ACPI_SLEEP) > > is actually wrong, because it's going to break compilation for > > (!CONFIG_PM_SLEEP && CONFIG_PM_RUNTIME). > > How would this break compilation in *any* configuration? The > variable definition got moved into an #ifdef the #else of which > has > > #define acpi_target_sleep_state ACPI_STATE_S0 OK, I seem to haven't looked at the patch carefully enough, sorry for the noise. Rafael