Messages in this thread Patch in this message | | | Date | Tue, 2 May 2006 13:28:28 +0200 | From | Pavel Machek <> | Subject | Re: initcall warnings in 2.6.17 |
| |
Hi!
This should fix
> > initcall at 0xffffffff80249307: software_resume+0x0/0xcf(): returned with error code -2
warning.
Signed-off-by: Pavel Machek <pavel@suse.cz>
diff --git a/kernel/power/disk.c b/kernel/power/disk.c index 81d4d98..1019aca 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c @@ -168,7 +168,7 @@ static int software_resume(void) if (!swsusp_resume_device) { if (!strlen(resume_file)) { up(&pm_sem); - return -ENOENT; + return 0; } swsusp_resume_device = name_to_dev_t(resume_file); pr_debug("swsusp: Resume From Partition %s\n", resume_file); -- Thanks for all the (sleeping) penguins. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |