Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 749fa170 authored by Chen Yu's avatar Chen Yu Committed by Rafael J. Wysocki
Browse files

PM / hibernate: Check the success of generating md5 digest before hibernation



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: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarChen Yu <yu.c.chen@intel.com>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent cc55f753
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment