summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChen Yu <yu.c.chen@intel.com>2018-09-21 14:26:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-24 08:23:02 +0100
commit7896a8171e18b1a738d710d69490f748202270b7 (patch)
treedc98ade758ef1cd81c12b9147fa40914cb40f37f /tools
parent191cda60bf0877656e77608650c7294bae2594e4 (diff)
PM / hibernate: Check the success of generating md5 digest before hibernation
[ Upstream commit 749fa17093ff67b31dea864531a3698b6a95c26c ] Currently if get_e820_md5() fails, then it will hibernate nevertheless. Actually the error code should be propagated to upper caller so that the hibernation could be aware of the result and terminates the process if md5 digest fails. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Chen Yu <yu.c.chen@intel.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions