Re: [linux-usb-devel] [BUG] usb/core/hub.c loops forever on resumefrom ram due to bluetooth

From: Alan Stern
Date: Thu May 03 2007 - 09:33:50 EST


On Wed, 2 May 2007, Mark Lord wrote:

> Alan Stern wrote:
> >
> > A better approach would be to find out why your system gets into that loop
> > and fix the underlying cause.
>
> Not better, just parallel.
>
> That loop should not be unbounded, as this example proves.
> But it also shouldn't get stuck there regardless.
>
> Two fixes needed.

If the code never gets stuck in a loop, then there's no need to check
whether the loop is unbounded! :-)

So only one fix needed.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/