]> Git Repo - linux.git/commitdiff
PM / hibernate: Change message when writing to /sys/power/resume
authorMario Limonciello <[email protected]>
Wed, 28 Mar 2018 17:01:10 +0000 (12:01 -0500)
committerRafael J. Wysocki <[email protected]>
Fri, 30 Mar 2018 10:01:20 +0000 (12:01 +0200)
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
kernel/power/hibernate.c

index d58fad3db22d118b6fd0ff78a947f9fb6ee2c36f..1028ecbb7a061ab2877eb3c9675110ebe502ce59 100644 (file)
@@ -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;
This page took 0.060819 seconds and 4 git commands to generate.