diff options
author | Stanislaw Gruszka <stf_xl@pop3.wp.pl> | 2011-02-12 15:06:51 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-16 15:53:52 -0500 |
commit | 2e725a065b0153f0c449318da1923a120477633d (patch) | |
tree | df20fb290a597d076db86b78cc1931838aba3d0b /arch/arm | |
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>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions