From: Andrew Morton <akpm@linux-foundation.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Kernel@smtp1.linux-foundation.org,
development list <linux-kernel@vger.kernel.org>,
Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: + pm-convert-wakeup-flag-accessors-to-inline-functions-fix.patch added to -mm tree
Date: Wed, 19 Mar 2008 11:48:29 -0700 [thread overview]
Message-ID: <20080319114829.bf993b72.akpm@linux-foundation.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0803191033430.4958-100000@netrider.rowland.org>
On Wed, 19 Mar 2008 10:55:35 -0400 (EDT) Alan Stern <stern@rowland.harvard.edu> wrote:
> On Tue, 18 Mar 2008 akpm@linux-foundation.org wrote:
>
> > Subject: pm-convert-wakeup-flag-accessors-to-inline-functions fix
> > From: Andrew Morton <akpm@linux-foundation.org>
> >
> > ia64 allmodconfig:
> >
> > In file included from include/linux/device.h:381,
> > from include/linux/rtc.h:110,
> > from include/linux/efi.h:19,
> > from include/asm/sal.h:40,
> > from include/asm-ia64/mca.h:20,
> > from arch/ia64/kernel/asm-offsets.c:17:
> > include/linux/pm_wakeup.h: In function `device_init_wakeup':
> > include/linux/pm_wakeup.h:35: error: structure has no member named `should_wakeup'
> > include/linux/pm_wakeup.h: In function `device_set_wakeup_enable':
> > include/linux/pm_wakeup.h:45: error: structure has no member named `should_wakeup'
> > include/linux/pm_wakeup.h: In function `device_may_wakeup':
> > include/linux/pm_wakeup.h:50: error: structure has no member named `should_wakeup'
> >
> > Cc: Alan Stern <stern@rowland.harvard.edu>
> > Cc: Greg KH <greg@kroah.com>
> > Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> > Cc: Len Brown <lenb@kernel.org>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> > ---
> >
> > include/linux/pm_wakeup.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff -puN include/linux/pm_wakeup.h~pm-convert-wakeup-flag-accessors-to-inline-functions-fix include/linux/pm_wakeup.h
> > --- a/include/linux/pm_wakeup.h~pm-convert-wakeup-flag-accessors-to-inline-functions-fix
> > +++ a/include/linux/pm_wakeup.h
> > @@ -25,7 +25,7 @@
> > # error "please don't include this file directly"
> > #endif
> >
> > -#ifdef CONFIG_PM
> > +#ifdef CONFIG_PM_SLEEP
> >
> > /* changes to device_may_wakeup take effect on the next pm state change.
> > * by default, devices should wakeup if they can.
>
> This is completely wrong.
>
> Andrew, I don't know what happened. But if you go back and compare my
> original patch to the
> pm-make-wakeup-flags-available-whenever-config_pm-is-set patch you
> actually applied, you'll see that you managed to leave out a hunk.
> Possibly because of a conflict with one of Rafael's patches affecting
> the same area of code.
>
> Here's a URL for that patch as rebased by Rafael:
>
> http://marc.info/?l=linux-kernel&m=120528034413861&w=2
But there was a patch with the same title from yourself sent four days
later, which is what I merged.
Plus Greg has been merging and dropping older versions under our feet and
maybe Len has too.
> The very first hunk in that patch makes the should_wakeup flag
> available always, not just when CONFIG_PM_SLEEP is set. If you go back
> and import it with that first hunk intact then there should be no need
> for this "fix" patch.
> (In order to do this, you'll first have to revert
> pm-convert-wakeup-flag-accessors-to-inline-functions.patch and then
> re-apply it afterward, because it depends on this one.)
<shudder>
I'll drop everything, let's start again.
Only how? umm, please review Greg's driver tree, let us know which patches
shoudl be dropped from that then send new ones, I guess.
WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>,
Kernel development list <linux-kernel@vger.kernel.org>,
Greg KH <greg@kroah.com>, <lenb@kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: + pm-convert-wakeup-flag-accessors-to-inline-functions-fix.patch added to -mm tree
Date: Wed, 19 Mar 2008 11:48:29 -0700 [thread overview]
Message-ID: <20080319114829.bf993b72.akpm@linux-foundation.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0803191033430.4958-100000@netrider.rowland.org>
On Wed, 19 Mar 2008 10:55:35 -0400 (EDT) Alan Stern <stern@rowland.harvard.edu> wrote:
> On Tue, 18 Mar 2008 akpm@linux-foundation.org wrote:
>
> > Subject: pm-convert-wakeup-flag-accessors-to-inline-functions fix
> > From: Andrew Morton <akpm@linux-foundation.org>
> >
> > ia64 allmodconfig:
> >
> > In file included from include/linux/device.h:381,
> > from include/linux/rtc.h:110,
> > from include/linux/efi.h:19,
> > from include/asm/sal.h:40,
> > from include/asm-ia64/mca.h:20,
> > from arch/ia64/kernel/asm-offsets.c:17:
> > include/linux/pm_wakeup.h: In function `device_init_wakeup':
> > include/linux/pm_wakeup.h:35: error: structure has no member named `should_wakeup'
> > include/linux/pm_wakeup.h: In function `device_set_wakeup_enable':
> > include/linux/pm_wakeup.h:45: error: structure has no member named `should_wakeup'
> > include/linux/pm_wakeup.h: In function `device_may_wakeup':
> > include/linux/pm_wakeup.h:50: error: structure has no member named `should_wakeup'
> >
> > Cc: Alan Stern <stern@rowland.harvard.edu>
> > Cc: Greg KH <greg@kroah.com>
> > Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> > Cc: Len Brown <lenb@kernel.org>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> > ---
> >
> > include/linux/pm_wakeup.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff -puN include/linux/pm_wakeup.h~pm-convert-wakeup-flag-accessors-to-inline-functions-fix include/linux/pm_wakeup.h
> > --- a/include/linux/pm_wakeup.h~pm-convert-wakeup-flag-accessors-to-inline-functions-fix
> > +++ a/include/linux/pm_wakeup.h
> > @@ -25,7 +25,7 @@
> > # error "please don't include this file directly"
> > #endif
> >
> > -#ifdef CONFIG_PM
> > +#ifdef CONFIG_PM_SLEEP
> >
> > /* changes to device_may_wakeup take effect on the next pm state change.
> > * by default, devices should wakeup if they can.
>
> This is completely wrong.
>
> Andrew, I don't know what happened. But if you go back and compare my
> original patch to the
> pm-make-wakeup-flags-available-whenever-config_pm-is-set patch you
> actually applied, you'll see that you managed to leave out a hunk.
> Possibly because of a conflict with one of Rafael's patches affecting
> the same area of code.
>
> Here's a URL for that patch as rebased by Rafael:
>
> http://marc.info/?l=linux-kernel&m=120528034413861&w=2
But there was a patch with the same title from yourself sent four days
later, which is what I merged.
Plus Greg has been merging and dropping older versions under our feet and
maybe Len has too.
> The very first hunk in that patch makes the should_wakeup flag
> available always, not just when CONFIG_PM_SLEEP is set. If you go back
> and import it with that first hunk intact then there should be no need
> for this "fix" patch.
> (In order to do this, you'll first have to revert
> pm-convert-wakeup-flag-accessors-to-inline-functions.patch and then
> re-apply it afterward, because it depends on this one.)
<shudder>
I'll drop everything, let's start again.
Only how? umm, please review Greg's driver tree, let us know which patches
shoudl be dropped from that then send new ones, I guess.
next prev parent reply other threads:[~2008-03-19 18:48 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 3:05 + pm-convert-wakeup-flag-accessors-to-inline-functions-fix.patch added to -mm tree akpm
2008-03-19 14:55 ` Alan Stern
2008-03-19 14:55 ` Alan Stern
2008-03-19 18:48 ` Andrew Morton [this message]
2008-03-19 18:48 ` Andrew Morton
2008-03-19 18:57 ` Greg KH
2008-03-19 18:57 ` Greg KH
2008-03-19 21:33 ` [PATCH 0/3] PM wakeup flags revisited (was: Re: + pm-convert-wakeup-flag-accessors-to-inline-functions-fix.patch added to -mm tree) Rafael J. Wysocki
2008-03-19 21:33 ` Rafael J. Wysocki
2008-03-19 21:35 ` [PATCH 1/3] Fix misuse of wakeup flag accessors in serial core Rafael J. Wysocki
2008-03-19 21:35 ` Rafael J. Wysocki
2008-03-20 23:23 ` patch pm-fix-misuse-of-wakeup-flag-accessors-in-serial-core.patch added to gregkh-2.6 tree gregkh
2008-03-20 23:23 ` gregkh
2008-03-19 21:37 ` [PATCH 2/3] PM: Make wakeup flags available whenever CONFIG_PM is set (ver 2) Rafael J. Wysocki
2008-03-19 21:37 ` Rafael J. Wysocki
2008-03-19 22:22 ` David Brownell
2008-03-19 22:22 ` [linux-pm] " David Brownell
2008-03-20 23:23 ` patch pm-make-wakeup-flags-available-whenever-config_pm-is-set.patch added to gregkh-2.6 tree gregkh
2008-03-20 23:23 ` gregkh
2008-03-19 21:39 ` [PATCH 3/3] PM: Convert wakeup flag accessors to inline functions Rafael J. Wysocki
2008-03-19 21:39 ` Rafael J. Wysocki
2008-03-20 23:23 ` patch pm-convert-wakeup-flag-accessors-to-inline-functions.patch added to gregkh-2.6 tree gregkh
2008-03-20 23:23 ` gregkh
2008-03-19 21:46 ` + pm-convert-wakeup-flag-accessors-to-inline-functions-fix.patch added to -mm tree Alan Stern
2008-03-19 21:46 ` Alan Stern
2008-03-19 21:55 ` Rafael J. Wysocki
2008-03-19 21:55 ` Rafael J. Wysocki
2008-03-19 22:04 ` Alan Stern
2008-03-19 22:04 ` Alan Stern
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=20080319114829.bf993b72.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=Kernel@smtp1.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=stern@rowland.harvard.edu \
/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.