From: Jesse Barnes <jbarnes@virtuousgeek•org>
To: Alan Stern <stern@rowland•harvard.edu>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
linux-next@vger•kernel.org, Greg KH <greg@kroah•com>,
"Rafael J. Wysocki" <rjw@sisk•pl>
Subject: Re: linux-next: pci tree build failure
Date: Tue, 1 Jul 2008 19:11:39 -0700 [thread overview]
Message-ID: <200807011911.39511.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0806301006040.2585-100000@iolanthe.rowland.org>
On Monday, June 30, 2008 7:11 am Alan Stern wrote:
> On Mon, 30 Jun 2008, Stephen Rothwell wrote:
> > Hi Jesse,
> >
> > Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> >
> > drivers/usb/core/driver.c: In function 'do_unbind_rebind':
> > drivers/usb/core/driver.c:865: error: 'struct dev_pm_info' has no member
> > named 'sleeping'
> >
> > Due to commit 1eede070a59e1cc73da51e1aaa00d9ab86572cfc ("Introduce new
> > top level suspend and hibernation callbacks") from the pci tree (which
> > removed the sleeping field of the dev_pm_info structure) and commit
> > fafa0857b87640d4c297777d432174b8778ac4fd ("USB: Force unbinding of
> > drivers lacking reset_resume or other methods") from the usb tree which
> > adds a reference.
>
> I knew this was going to happen. There was no way around it.
>
> > For now I have reverted commit fafa0857b87640d4c297777d432174b8778ac4fd
> > ("USB: Force unbinding of drivers lacking reset_resume or other methods")
> > from the usb tree since that gives me a building tree without the pain of
> > trying to revert 1eede070a59e1cc73da51e1aaa00d9ab86572cfc (which has
> > several dependent commits).
> >
> > A better solution would be nice (hint, hint).
>
> Instead of reverting that USB commit, take a look at it. There's a big
> FIXME comment at the point where the obsolete field member is used.
> For now you can insert a patch to remove that line of code.
>
> That's not a correct fix, but it will allow things to build and run.
> Unfortunately it's not possible at this time to submit a correct fix
> because the clash occurs between patches in two different development
> trees. In addition, the correct fix involves a non-trivial rewrite of
> the USB-PM interface; it can't simply be dashed off.
We had some ACPI cross-dependencies like that, so I ended up pulling directly
from Len's ACPI tree into my PCI tree, but that only worked because we both
use git. Doing it with Greg's stuff would probably be harder, especially if
that area is in flux. But as long as some sort of correct fix is in progress
we can put it off until the merge window...
Jesse
next prev parent reply other threads:[~2008-07-02 2:11 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080630142314.34654d3c.sfr@canb.auug.org.au>
2008-06-30 14:11 ` linux-next: pci tree build failure Alan Stern
2008-07-02 2:11 ` Jesse Barnes [this message]
2010-01-27 6:49 Stephen Rothwell
2010-01-27 17:31 ` Jesse Barnes
2010-01-28 6:14 ` Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2010-01-18 8:40 Stephen Rothwell
2010-01-18 21:24 ` Rafael J. Wysocki
2010-01-19 2:35 ` Jesse Barnes
2010-01-19 3:19 ` Stephen Rothwell
2010-01-20 4:39 ` Jesse Barnes
2010-01-20 5:19 ` Stephen Rothwell
2010-01-04 22:55 Stephen Rothwell
2010-01-04 23:10 ` Matthew Wilcox
2010-01-04 23:48 ` Jesse Barnes
2010-01-05 3:41 ` Stephen Rothwell
2009-10-07 1:38 Stephen Rothwell
2009-10-07 1:45 ` Tejun Heo
2009-10-07 15:39 ` Jesse Barnes
2009-07-15 1:45 Stephen Rothwell
2009-07-15 16:09 ` Jesse Barnes
2009-07-15 23:46 ` Stephen Rothwell
2009-06-30 2:07 Stephen Rothwell
2009-06-30 2:13 ` Jesse Barnes
2009-06-30 2:24 ` Matthew Wilcox
2009-06-30 20:31 ` Jesse Barnes
2009-03-23 1:49 Stephen Rothwell
2009-03-25 1:21 ` Stephen Rothwell
2009-03-25 1:38 ` Jesse Barnes
2009-03-25 3:41 ` Stephen Rothwell
2009-03-25 4:30 ` Matthew Wilcox
2009-03-25 15:55 ` Jesse Barnes
2009-03-26 3:05 ` Stephen Rothwell
2009-03-26 3:37 ` Jesse Barnes
2009-03-26 4:54 ` Stephen Rothwell
2008-10-22 2:39 Stephen Rothwell
2008-10-22 3:47 ` Jesse Barnes
2008-10-16 3:41 Stephen Rothwell
2008-10-16 3:44 ` Benjamin Herrenschmidt
2008-10-16 4:23 ` Jesse Barnes
2008-10-16 4:28 ` Benjamin Herrenschmidt
2008-10-18 22:41 ` Jesse Barnes
2008-10-19 4:15 ` Stephen Rothwell
2008-10-19 4:30 ` Jesse Barnes
[not found] <20080717130924.edd5a501.sfr@canb.auug.org.au>
2008-07-17 22:57 ` Rafael J. Wysocki
2008-07-18 6:09 ` Stephen Rothwell
2008-07-18 7:53 ` Ingo Molnar
2008-07-08 1:40 Stephen Rothwell
2008-07-08 14:54 ` Rafael J. Wysocki
2008-06-30 5:11 Stephen Rothwell
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=200807011911.39511.jbarnes@virtuousgeek.org \
--to=jbarnes@virtuousgeek$(echo .)org \
--cc=greg@kroah$(echo .)com \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=rjw@sisk$(echo .)pl \
--cc=sfr@canb$(echo .)auug.org.au \
--cc=stern@rowland$(echo .)harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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