diff options
author | Mario Limonciello <mario.limonciello@dell.com> | 2018-03-28 12:01:10 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-03-30 12:01:20 +0200 |
commit | 648464076160ee7a4112d05eea13621790ab9d04 (patch) | |
tree | 5c5c8ecc6df32830e16dbab6714c372c4abb37a3 /kernel/power/hibernate.c | |
parent | 355064675f1c997cea017ea64c8f2c216e5425d9 (diff) | |
download | op-kernel-dev-648464076160ee7a4112d05eea13621790ab9d04.zip op-kernel-dev-648464076160ee7a4112d05eea13621790ab9d04.tar.gz |
PM / hibernate: Change message when writing to /sys/power/resume
This file is used both for setting the wakeup device without kernel
command line as well as for actually waking the system (when appropriate
swap header is in place).
To avoid confusion on incorrect logs in system log downgrade the
message to debug and make it clearer.
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/hibernate.c')
-rw-r--r-- | kernel/power/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index d58fad3..1028ecb 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -1053,7 +1053,7 @@ static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, lock_system_sleep(); swsusp_resume_device = res; unlock_system_sleep(); - pr_info("Starting manual resume from disk\n"); + pm_pr_dbg("Configured resume from disk to %u\n", swsusp_resume_device); noresume = 0; software_resume(); return n; |