[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180920220510.GE27468@xo-6d-61-c0.localdomain>
Date: Fri, 21 Sep 2018 00:05:10 +0200
From: Pavel Machek <pavel@....cz>
To: Chen Yu <yu.c.chen@...el.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
"Rafael J. Wysocki" <rjw@...ysocki.net>, x86@...nel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Len Brown <len.brown@...el.com>,
Zhimin Gu <kookoo.gu@...el.com>
Subject: Re: [PATCH 02/12][RFC v3] PM / hibernate: Check the success of
generating md5 digest before hibernation
On Wed 2018-09-19 15:38:17, Chen Yu wrote:
> 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@...utronix.de>
> Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>
> Signed-off-by: Chen Yu <yu.c.chen@...el.com>
Acked-by: Pavel Machek <pavel@....cz>
> ---
> arch/x86/power/hibernate_64.c | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Powered by blists - more mailing lists