commit | 2e725a065b0153f0c449318da1923a120477633d | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <stf_xl@pop3.wp.pl> | Sat Feb 12 21:06:51 2011 +0100 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Wed Feb 16 21:53:52 2011 +0100 |
tree | df20fb290a597d076db86b78cc1931838aba3d0b | |
parent | a2640111d5edb3f4e6dd6089c0dbddc7590110b4 [diff] |
PM / Hibernate: Return error code when alloc_image_page() fails Currently we return 0 in swsusp_alloc() when alloc_image_page() fails. Fix that. Also remove unneeded "error" variable since the only useful value of error is -ENOMEM. [rjw: Fixed up the changelog and changed subject.] Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl> Cc: stable@kernel.org Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>