Thread (10 messages) 10 messages, 3 authors, 2008-02-02

Re: sleepy linux self-test

From: Ingo Molnar <hidden>
Date: 2008-02-01 14:23:20
Also in: lkml

* Pavel Machek [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help