Re: [2.6.0-test5-mm1] Suspend to RAM problems

From: Patrick Mochel
Date: Thu Sep 11 2003 - 10:58:07 EST



> [...]
> CC drivers/acpi/sleep/proc.o
> drivers/acpi/sleep/proc.c: In function `acpi_system_write_sleep':
> drivers/acpi/sleep/proc.c:72: error: void value not ignored as it
> ought to be
> make[3]: *** [drivers/acpi/sleep/proc.o] Error 1
> make[2]: *** [drivers/acpi/sleep] Error 2
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
>
>
> Is there an incremental patch from -pm1 to -pm2?
> I would apply it to -test5-mm1 then

Patch below. Sorry about that.


Pat

diff -Nru a/drivers/acpi/sleep/proc.c b/drivers/acpi/sleep/proc.c
--- a/drivers/acpi/sleep/proc.c Thu Sep 11 08:54:01 2003
+++ b/drivers/acpi/sleep/proc.c Thu Sep 11 08:54:01 2003
@@ -69,7 +69,7 @@
state = simple_strtoul(str, NULL, 0);
#ifdef CONFIG_SOFTWARE_SUSPEND
if (state == 4) {
- error = software_suspend();
+ software_suspend();
goto Done;
}
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/