Re: Linux 2.6.12-rc3: various swsusp problems

From: Stefan Seyfried
Date: Fri Apr 22 2005 - 11:08:25 EST


Pavel Machek wrote:
>> 1. Is it necessary to print the following message during regular boot?
>> swsusp: Suspend partition has wrong signature?

> Hmm, feel free to provide a patch. (I need something to try git on :-).

Attached (sorry, Thunderbird...). One may argue over KERN_ERR, but i
don't mind.
--
Stefan Seyfried, QA / R&D Team Mobile Devices, SUSE LINUX Nürnberg.

"Any ideas, John?"
"Well, surrounding them's out."
--- linux/kernel/power/swsusp.c~ 2005-04-22 17:07:56.000000000 +0200
+++ linux/kernel/power/swsusp.c 2005-04-22 17:09:22.000000000 +0200
@@ -1239,7 +1239,7 @@ static int check_sig(void)
*/
error = bio_write_page(0, &swsusp_header);
} else {
- printk(KERN_ERR "swsusp: Suspend partition has wrong signature?\n");
+ printk(KERN_ERR "swsusp: Suspend partition is no suspend image.\n");
return -EINVAL;
}
if (!error)