Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc5

From: Cornelia Huck
Date: Tue Jan 23 2007 - 04:58:52 EST


On Mon, 22 Jan 2007 21:28:24 +0100,
Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:

> > I don't feel comfortable adding them to the 2.6.20 kernel at this late
> > period, for a variety of reasons. I really want them to be tested out
> > in the -mm tree and then in the full -rc series due to the fact that
> > they are non-trivial, and touch the driver core code that everyone uses,
> > not just that function.

I agree that the patch allowing device_move(dev, NULL) is non-trivial,
but the one removing the useless device_is_registered() check should be
straightforward enough.

>
> fair enough.
>
> > Also, it's a new feature (reparent back to the original parent), not
> > necessarily a bugfix.
> >
> > And yes, I realize that the functions don't work fully right now, but as
> > long as you don't want to re-parent the devices, they should work,
> > right?
>
> Actually even that was broken for me.

If removing the device_is_registered() check helps you, I'd lobby for
the inclusion of that part (and leave device_move(dev, NULL) for
post-2.6.20). (It should help for devices with no bus; for my use case,
everything worked fine.)

--
Cornelia Huck
Linux for zSeries Developer
Tel.: +49-7031-16-4837, Mail: cornelia.huck@xxxxxxxxxx
-
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/