Re: sleepy linux self-test

From: Ingo Molnar
Date: Fri Feb 01 2008 - 09:23:23 EST



* Pavel Machek <pavel@xxxxxx> wrote:

> index b8b2de3..222d22d 100644
> --- a/kernel/power/sleepy.c
> +++ b/kernel/power/sleepy.c
> @@ -31,7 +31,8 @@ int ksleepyd(void *data)
> {
> msleep(5000);
> while (1) {
> - set_alarm(5);
> + if (set_alarm(5))
> + return -EFAULT;
> pm_suspend(PM_SUSPEND_MEM);
> msleep(500000);

could you send me a clean patch against mainline please? The above chunk
didnt apply because there's no ksleepyd (only test_sleep()). Thanks,

Ingo
--
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/