Skip to contentSkip to conversation

swsusp in 2.6.0 sometimes reports "incorrect version"

DISCUSSION Pavel Machek 1 participant 1 message Jan 3, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

This check sometimes triggers; I'm not sure what is going on. Adding field to "struct suspend_head" may help you.

Pavel

static int sanity_check(struct suspend_header *sh)

{
	if (sh->version_code != LINUX_VERSION_CODE)
		return sanity_check_failed("Incorrect kernel version");
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]