提交 465d2b47 编写于 作者: R Rafael J. Wysocki 提交者: Len Brown

Suspend: Use common prefix in messages

Make suspend messages start with one common prefix "PM: ".
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
Acked-by: NPavel Machek <pavel@ucw.cz>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 b6887a29
......@@ -235,7 +235,7 @@ static int suspend_enter(suspend_state_t state)
BUG_ON(!irqs_disabled());
if ((error = device_power_down(PMSG_SUSPEND))) {
printk(KERN_ERR "Some devices failed to power down\n");
printk(KERN_ERR "PM: Some devices failed to power down\n");
goto Done;
}
......@@ -269,7 +269,7 @@ int suspend_devices_and_enter(suspend_state_t state)
suspend_console();
error = device_suspend(PMSG_SUSPEND);
if (error) {
printk(KERN_ERR "Some devices failed to suspend\n");
printk(KERN_ERR "PM: Some devices failed to suspend\n");
goto Resume_console;
}
......@@ -352,7 +352,7 @@ static int enter_state(suspend_state_t state)
if (!mutex_trylock(&pm_mutex))
return -EBUSY;
printk("Syncing filesystems ... ");
printk(KERN_INFO "PM: Syncing filesystems ... ");
sys_sync();
printk("done.\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册