mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: kevin granade <kevin.granade@gmail.com>
Cc: Andreas Mohr <andi@lisas.de>,
	linux-pci@vger.kernel.org,
	pm list <linux-pm@lists.linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] PCI PM: Read device power state from register after updating it (rev. 2)
Date: Tue, 22 Sep 2009 22:39:08 +0200	[thread overview]
Message-ID: <200909222239.08255.rjw@sisk.pl> (raw)
In-Reply-To: <7004b08e0909221256m6d917531kc8b51e1af85d3459@mail.gmail.com>

On Tuesday 22 September 2009, kevin granade wrote:
> On Tue, Sep 22, 2009 at 2:50 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> 
> > On Tuesday 22 September 2009, Andreas Mohr wrote:
> > > Hi Rafael,
> >
> > Hi,
> >
> > > first you say "returning an error code in such cases would..."
> > > and then the patch content has...?
> >
> > I don't quite understand your comment, care to elaborate?
> >
> >
> I think this is what was being referenced:
> 
> +       /* Return error code if we have failed to change the state */
> +       if (dev->current_state != state)
> +               dev_info(&dev->dev, "Refused to change power state, "
> +                       "currently in D%d\n", dev->current_state);
> 
> The comment says, "Return error code", where it should probably say, "Log
> error".  Or possibly no comment at all.

Ah, thanks.

Rafael

  parent reply	other threads:[~2009-09-22 20:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21 21:37 Rafael J. Wysocki
2009-09-22  7:16 ` Arjan van de Ven
2009-09-22 19:51   ` Rafael J. Wysocki
2009-09-22  8:07 ` Andreas Mohr
2009-09-22 19:50   ` Rafael J. Wysocki
     [not found]     ` <7004b08e0909221256m6d917531kc8b51e1af85d3459@mail.gmail.com>
2009-09-22 20:39       ` Rafael J. Wysocki [this message]
2009-09-22 20:58 ` [PATCH] PCI PM: Read device power state from register after updating it (rev. 3) 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=200909222239.08255.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=andi@lisas.de \
    --cc=kevin.granade@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    /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

all inboxes | Powered by JetHome®