From: Rafael J. Wysocki Date: Tue, 11 Nov 2008 20:32:44 +0000 (+0100) Subject: Hibernate: Do not oops on resume if image data are incorrect X-Git-Tag: v2.6.29-rc1~34^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69643279a88dea000ac2f858091d0e365f778245;p=pandora-kernel.git Hibernate: Do not oops on resume if image data are incorrect During resume from hibernation using the userland interface image data are being passed from the used space process to the kernel. These data need not be valid, but currently the kernel sometimes oopses if it gets invalid image data, which is wrong. Make the kernel return error codes to the user space in such cases. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Len Brown --- Reading git-diff-tree failed