summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorStanislaw Gruszka <stf_xl@pop3.wp.pl>2011-02-12 21:06:51 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-02-16 21:53:52 +0100
commit2e725a065b0153f0c449318da1923a120477633d (patch)
treedf20fb290a597d076db86b78cc1931838aba3d0b /net/netrom
parenta2640111d5edb3f4e6dd6089c0dbddc7590110b4 (diff)
downloadop-kernel-dev-2e725a065b0153f0c449318da1923a120477633d.zip
op-kernel-dev-2e725a065b0153f0c449318da1923a120477633d.tar.gz
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 'net/netrom')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud