public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Pavel Machek <pavel@ucw.cz>
Cc: pm list <linux-pm@lists.linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/6] Suspend: Use common prefix in messages
Date: Tue, 27 Nov 2007 17:16:14 +0100	[thread overview]
Message-ID: <200711271716.14562.rjw@sisk.pl> (raw)
In-Reply-To: <20071127002145.GD9759@elf.ucw.cz>

On Tuesday, 27 of November 2007, Pavel Machek wrote:
> Hi!
> 
> > 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>
> 
> I do not think I like the PREFIX idea (see other message).

The problem is that we use three different types of messages:
- with no prefix at all
- with "PM: "
- with "swsusp: "
and I think that we should use just one, preferably "PM: ".

> > @@ -344,11 +344,12 @@ static int enter_state(suspend_state_t s
> >  	if (!mutex_trylock(&pm_mutex))
> >  		return -EBUSY;
> >  
> > -	printk("Syncing filesystems ... ");
> > +	printk(KERN_INFO PREFIX "Syncing filesystems ... ");
> >  	sys_sync();
> > -	printk("done.\n");
> > +	printk(KERN_INFO "done.\n");
> 
> 
> Plus this is wrong.

Yes, I've had a temporary blackout regarding prinkt(), not even making much
sense ...

I'll resend the entire series in a while.

Greetings,
Rafael

  parent reply	other threads:[~2007-11-27 16:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200711270025.08128.rjw@sisk.pl>
2007-11-26 23:27 ` [PATCH 1/6] Suspend: Fix compilation warning for CONFIG_SUSPEND unset Rafael J. Wysocki
2007-11-26 23:29 ` [PATCH 2/6] Hibernation: Move low level resume to disk.c Rafael J. Wysocki
2007-11-26 23:30 ` [PATCH 3/6] Suspend: Use common prefix in messages Rafael J. Wysocki
2007-11-26 23:31 ` [PATCH 4/6] Suspend: Fix comment in main.c Rafael J. Wysocki
2007-11-26 23:32 ` [PATCH 5/6] Hibernation: Use common prefix in messages Rafael J. Wysocki
2007-11-26 23:33 ` [PATCH 6/6] Hibernation: Move extern definition to header file Rafael J. Wysocki
     [not found] ` <200711270027.24230.rjw@sisk.pl>
2007-11-27  0:12   ` [PATCH 1/6] Suspend: Fix compilation warning for CONFIG_SUSPEND unset Pavel Machek
     [not found] ` <200711270031.22305.rjw@sisk.pl>
2007-11-27  0:14   ` [PATCH 4/6] Suspend: Fix comment in main.c Pavel Machek
     [not found] ` <200711270032.07724.rjw@sisk.pl>
2007-11-27  0:20   ` [PATCH 5/6] Hibernation: Use common prefix in messages Pavel Machek
     [not found] ` <200711270030.10561.rjw@sisk.pl>
2007-11-27  0:21   ` [PATCH 3/6] Suspend: " Pavel Machek
     [not found]   ` <20071127002145.GD9759@elf.ucw.cz>
2007-11-27 16:16     ` Rafael J. Wysocki [this message]
     [not found] ` <200711270033.04999.rjw@sisk.pl>
2007-11-27  0:23   ` [PATCH 6/6] Hibernation: Move extern definition to header file Pavel Machek
     [not found] ` <200711270029.11185.rjw@sisk.pl>
2007-11-27  0:29   ` [PATCH 2/6] Hibernation: Move low level resume to disk.c Pavel Machek
     [not found]   ` <20071127002929.GF9759@elf.ucw.cz>
2007-11-27 16:06     ` Rafael J. Wysocki

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=200711271716.14562.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