]> git.baikalelectronics.ru Git - kernel.git/commit
PM / suspend: Fix missing KERN_CONT for suspend message
authorJon Hunter <jonathanh@nvidia.com>
Fri, 21 Oct 2016 15:24:09 +0000 (16:24 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 Oct 2016 12:38:02 +0000 (14:38 +0200)
commitbb804b026bf85d61ca00cf23bf80ea7c7e4c9162
tree307baf26669159c6967b2a4e6b2b855b2175bdb1
parent71f83e9de55975751c0c82c8d8af1d67a9298d90
PM / suspend: Fix missing KERN_CONT for suspend message

Commit 3c758df09457 (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@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/suspend.c