On Thu, Mar 13, 2014 at 10:23:51PM +0100, Rafael J. Wysocki wrote: > On Thursday, March 13, 2014 02:48:31 PM Valdis Kletnieks wrote: > > Seen in the most recent linux-next with a CONFIG_SUSPEND=n .config: > > > > CC drivers/acpi/sleep.o > > drivers/acpi/sleep.c: In function 'acpi_sleep_init': > > drivers/acpi/sleep.c:808:2: error: implicit declaration of function 'acpi_sleep_state_supported' [-Werror=implicit-function-declaration] > > if (acpi_sleep_state_supported(ACPI_STATE_S5)) { > > ^ > > cc1: some warnings being treated as errors > > make[2]: *** [drivers/acpi/sleep.o] Error 1 > > make[1]: *** [drivers/acpi] Error 2 > > make: *** [drivers] Error 2 > > > > Function is defined inside a #ifdef CONFIG_SUSPEND, but used outside of > > one in acpi_sleep_init(). > > This isn't caught by the build test robot. Care to submit that .config to > Fengguang so that you don't have to report such failures again? Sorry about that! It's because the build test robot skips compilation for many trees due to a newly introduced bug. Have been fixed now. Cheers, Fengguang -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html