aboutsummaryrefslogtreecommitdiff
path: root/sound
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-03-02 09:46:50 -0500
commitfc1ff859e9e28379ae4cae181ff00469d7e79b73 (patch)
tree25d98d7312d175a8b1ebef5b740108de983fd049 /sound
parent1f691f2928410aaadbf16bc9c536dd7d03598dfa (diff)
downloadlinux-linaro-stable-fc1ff859e9e28379ae4cae181ff00469d7e79b73.tar.gz
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 'sound')
0 files changed, 0 insertions, 0 deletions