All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Ming Lei <ming.lei@canonical.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Borislav Petkov <borislav.petkov@amd.com>,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [RFC PATCH 2/3] PM / Sleep: introduce dpm_for_each_dev
Date: Thu, 16 Aug 2012 20:42:10 -0700	[thread overview]
Message-ID: <20120817034210.GA7770@kroah.com> (raw)
In-Reply-To: <CACVXFVNGHtXqiZtA0V6FuCEvebSs1F=jQG=nAYqwQjD6jdG2+Q@mail.gmail.com>

On Fri, Aug 17, 2012 at 09:54:56AM +0800, Ming Lei wrote:
> On Fri, Aug 17, 2012 at 9:45 AM, Ming Lei <ming.lei@canonical.com> wrote:
> > diff --git a/include/linux/pm.h b/include/linux/pm.h
> > index 44d1f23..bf86f89 100644
> > --- a/include/linux/pm.h
> > +++ b/include/linux/pm.h
> > @@ -640,6 +640,7 @@ extern void __suspend_report_result(const char *function, void *fn, int ret);
> >         } while (0)
> >
> >  extern int device_pm_wait_for_dev(struct device *sub, struct device *dev);
> > +extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *));
> >
> >  extern int pm_generic_prepare(struct device *dev);
> >  extern int pm_generic_suspend_late(struct device *dev);
> > @@ -679,6 +680,10 @@ static inline int device_pm_wait_for_dev(struct device *a, struct device *b)
> >         return 0;
> >  }
> >
> > +void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *))
> 
> Sorry, the above line is wrong, and should be defined as 'static inline'.
> Please drop this one and take the attachment patch.

Can you please just resend these, as this attachment was in base64 :(


  reply	other threads:[~2012-08-17  3:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-17  1:45 [PATCH -next 0/3] firmware loader: fix build failure Ming Lei
2012-08-17  1:45 ` [PATCH 1/3] firmware loader: fix compile failure if !PM Ming Lei
2012-08-17  1:45 ` [RFC PATCH 2/3] PM / Sleep: introduce dpm_for_each_dev Ming Lei
2012-08-17  1:54   ` Ming Lei
2012-08-17  3:42     ` Greg Kroah-Hartman [this message]
2012-08-17  1:45 ` [PATCH 3/3] firmware loader: fix compile failure if FW_LOADER is m Ming Lei

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=20120817034210.GA7770@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=borislav.petkov@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=ming.lei@canonical.com \
    --cc=rjw@sisk.pl \
    --cc=torvalds@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.