aboutsummaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <stf_xl@pop3.wp.pl>2011-02-12 21:06:51 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-24 14:54:31 -0800
commit7401529300ced9e10bf396aa3bffd60970d002a7 (patch)
tree6535fa2bb87fb7408e32944c85483821fe708f1b /lib/flex_array.c
parent8cc8e3f986fcb39f707e32f68d12a896f673dba0 (diff)
PM / Hibernate: Return error code when alloc_image_page() fails
commit 2e725a065b0153f0c449318da1923a120477633d upstream. 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> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions