* Wrong commit in the ACPI release branch
@ 2010-12-11 22:29 Rafael J. Wysocki
2010-12-13 8:05 ` Jan Beulich
2010-12-13 20:11 ` Len Brown
0 siblings, 2 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2010-12-11 22:29 UTC (permalink / raw)
To: Len Brown; +Cc: ACPI Devel Maling List, Linux-pm mailing list, Jan Beulich
Hi Len,
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).
I haven't seen it before, let alone acking it or something like this, so I wonder
why it's being pushed directly to Linus?
Thanks,
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong commit in the ACPI release branch
2010-12-11 22:29 Wrong commit in the ACPI release branch Rafael J. Wysocki
@ 2010-12-13 8:05 ` Jan Beulich
2010-12-13 21:09 ` Rafael J. Wysocki
2010-12-13 20:11 ` Len Brown
1 sibling, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2010-12-13 8:05 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Len Brown, Linux-pm mailing list, ACPI Devel Maling List
>>> On 11.12.10 at 23:29, "Rafael J. Wysocki" <rjw@sisk.pl> 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
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong commit in the ACPI release branch
2010-12-11 22:29 Wrong commit in the ACPI release branch Rafael J. Wysocki
2010-12-13 8:05 ` Jan Beulich
@ 2010-12-13 20:11 ` Len Brown
1 sibling, 0 replies; 4+ messages in thread
From: Len Brown @ 2010-12-13 20:11 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: ACPI Devel Maling List, Linux-pm mailing list, Jan Beulich
On Sat, 11 Dec 2010, Rafael J. Wysocki wrote:
> 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).
That's funny, that config builds for me.
It got through my 399 kernel build test, as well as linux-next.
If you have a .config that breaks, please send it to me.
> I haven't seen it before, let alone acking it or something like this, so I wonder
> why it's being pushed directly to Linus?
it fixes an unused variable warning if !CONFG_ACPI_SLEEP, per the commit
message.
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wrong commit in the ACPI release branch
2010-12-13 8:05 ` Jan Beulich
@ 2010-12-13 21:09 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2010-12-13 21:09 UTC (permalink / raw)
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" <rjw@sisk.pl> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-13 21:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-11 22:29 Wrong commit in the ACPI release branch Rafael J. Wysocki
2010-12-13 8:05 ` Jan Beulich
2010-12-13 21:09 ` Rafael J. Wysocki
2010-12-13 20:11 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox