]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] swsusp: fix error handling
authorPavel Machek <pavel@ucw.cz>
Fri, 8 Jul 2005 00:56:44 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:43 +0000 (18:23 -0700)
commit47b724f3fe372a3d9acf0bb560fb5c93c9867880
treebbb6cf40166e0be65cf5589a6b1d46e732df1f47
parent3efa147ad7608196639882ba4075b376f306fe16
[PATCH] swsusp: fix error handling

Fix error handling and whitespace in swsusp.c.  swsusp_free() was called when
there was nothing allocating, leading to oops.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swsusp.c