public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: pm list <linux-pm@lists.linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Pavel Machek <pavel@ucw.cz>
Subject: [PATCH 6/7] Suspend: Use common prefix in messages
Date: Wed, 28 Nov 2007 01:30:24 +0100	[thread overview]
Message-ID: <200711280130.25369.rjw@sisk.pl> (raw)
In-Reply-To: <200711280113.36941.rjw@sisk.pl>

From: Rafael J. Wysocki <rjw@sisk.pl>

Make suspend messages start with one common prefix "PM: ".

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
 kernel/power/main.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6/kernel/power/main.c
===================================================================
--- linux-2.6.orig/kernel/power/main.c
+++ linux-2.6/kernel/power/main.c
@@ -227,7 +227,7 @@ static int suspend_enter(suspend_state_t
 	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;
 	}
 
@@ -261,7 +261,7 @@ int suspend_devices_and_enter(suspend_st
 	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;
 	}
 
@@ -344,7 +344,7 @@ static int enter_state(suspend_state_t s
 	if (!mutex_trylock(&pm_mutex))
 		return -EBUSY;
 
-	printk("Syncing filesystems ... ");
+	printk(KERN_INFO "PM: Syncing filesystems ... ");
 	sys_sync();
 	printk("done.\n");
 


  parent reply	other threads:[~2007-11-28  0:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28  0:13 [PATCH 0/7] Suspend and hibernation code cleanups (rev. 2) Rafael J. Wysocki
2007-11-28  0:15 ` [PATCH 1/7] Suspend: Fix compilation warning for CONFIG_SUSPEND unset Rafael J. Wysocki
2007-11-28  0:26 ` [PATCH 2/7] Hibernation: Move low level resume to disk.c Rafael J. Wysocki
2007-11-28  0:27 ` [PATCH 3/7] Suspend: Fix comment in main.c Rafael J. Wysocki
2007-11-28  0:28 ` [PATCH 4/7] Hibernation: Fix comment in disk.c Rafael J. Wysocki
2007-11-28 10:08   ` Pavel Machek
2007-11-28  0:29 ` [PATCH 5/7] Hibernation: Remove unnecessary variable declaration Rafael J. Wysocki
2007-11-28 10:09   ` Pavel Machek
2007-11-28  0:30 ` Rafael J. Wysocki [this message]
2007-11-28 10:09   ` [PATCH 6/7] Suspend: Use common prefix in messages Pavel Machek
2007-11-28  0:37 ` [PATCH 7/7] Hibernation: Update messages Rafael J. Wysocki
2007-11-28 10:14   ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711280130.25369.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox