Re: [PATCH] PM / Suspend: Fix missing KERN_CONT for suspend message
From: Pavel Machek
Date: Fri Oct 28 2016 - 15:53:14 EST
On Fri 2016-10-21 16:24:09, Jon Hunter wrote:
> Commit 4bcc595ccd80 ("printk: reinstate KERN_CONT for printing
> continuation lines") exposed a missing KERN_CONT from one of the
> messages shown on entering suspend. With v4.9-rc1, the 'done.' shown
> after syncing the filesystems no longer appears as a continuation but
> a new message with its own timestamp.
>
> [ 9.259566] PM: Syncing filesystems ... [ 9.264119] done.
>
> Fix this by adding the KERN_CONT log level for the 'done.' part of the
> message seen after syncing filesystems. While we are at it, convert
> these suspend printks to pr_info and pr_cont, respectively.
>
> Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
Acked-by: Pavel Machek <pavel@xxxxxx>