Re: [announce] new tree: "fix all build warnings, on all configs"

Len Brown
2008-10-22T04:12:28Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 478 bytes --]

> > drivers/acpi/sleep/main.c:67: warning: ‘acpi_pm_disable_gpes’ defined but not used

> >
> > Shows that this code has an identity crisis due to a maze of #ifdefs, in
> > the PM_SLEEP && !SUSPEND && !HIBERNATION case for example.
>
> This case is invalid, because PM_SLEEP == SUSPEND || HIBERNATION !

I though so too, but 2.6.27 appears to have added XEN to the mix:

config PM_SLEEP
bool
depends on SUSPEND || HIBERNATION || XEN_SAVE_RESTORE

-Len