diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-07 23:43:45 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-19 02:00:35 +0200 |
commit | ce4410116c5debfb0e049f5db4b5cd6211e05b80 (patch) | |
tree | 510009c78c5d2757fde08f31c03dd41ddb130463 /Documentation/initrd.txt | |
parent | PM / Hibernate: Fix snapshot error code path (diff) | |
download | linux-ce4410116c5debfb0e049f5db4b5cd6211e05b80.tar.xz linux-ce4410116c5debfb0e049f5db4b5cd6211e05b80.zip |
PM / Suspend: Fix ordering of calls in suspend error paths
The ACPI suspend code calls suspend_nvs_free() at a wrong place,
which may lead to a memory leak if there's an error executing
acpi_pm_prepare(), because acpi_pm_finish() will not be called in
that case. However, the root cause of this problem is the
apparently confusing ordering of calls in suspend error paths that
needs to be fixed.
In addition to that, fix a typo in a label name in suspend.c.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation/initrd.txt')
0 files changed, 0 insertions, 0 deletions