Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

Rafael J. Wysocki
2005-12-13T22:38:26Z

On Tuesday, 13 December 2005 23:22, David Brownell wrote:
> On Tuesday 13 December 2005 2:10 pm, Rafael J. Wysocki wrote:
> > On Tuesday, 13 December 2005 07:52, David Brownell wrote:
> > > >
> > > > if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) {
> > >
> > > What happens if you make that line read
> > >
> > > if ((status & STS_PCD) != 0) {
> > >
> > > and ignore the root hub thing?
> >
> > So far, so good. It works and hasn't triggered the oops yet. I'll report if there's
> > anything wrong with it.
>
> I suspect that should be safe to merge for 2.6.15, and it might be
> worth considering that. You were using kexec() right?

No, I was not. Why would that be important?

Rafael