Re: [linux-usb-devel] [PATCH as428] Hub driver: several bug fixes and simplifications

2004-11-29 Thread Oliver Neukum
Am Montag, 29. November 2004 19:07 schrieb Alan Stern: > On Mon, 29 Nov 2004, Oliver Neukum wrote: > > > Am Montag, 29. November 2004 18:20 schrieb Alan Stern: > > + > > +   /* don't allow the user to unbind the hub driver from > > +    * a hub with children to manage */ >

Re: [linux-usb-devel] [PATCH as428] Hub driver: several bug fixes and simplifications

2004-11-29 Thread Alan Stern
On Mon, 29 Nov 2004, Oliver Neukum wrote: > Am Montag, 29. November 2004 18:20 schrieb Alan Stern: > + > +   /* don't allow the user to unbind the hub driver from > +    * a hub with children to manage */ > +   for (i = 0; i < ps->dev->maxchild; ++i) { > +  

Re: [linux-usb-devel] [PATCH as428] Hub driver: several bug fixes and simplifications

2004-11-29 Thread Oliver Neukum
Am Montag, 29. November 2004 18:20 schrieb Alan Stern: > + > +   /* don't allow the user to unbind the hub driver from > +    * a hub with children to manage */ > +   for (i = 0; i < ps->dev->maxchild; ++i) { > +   if (ps->dev->children[i]) >

[linux-usb-devel] [PATCH as428] Hub driver: several bug fixes and simplifications

2004-11-29 Thread Alan Stern
Greg: This patch adds several relatively minor bug fixes and code simplifications for the hub driver. Perhaps most significantly, a test is added to usbfs to prevent users from unbinding the hub driver from a hub with children. That could cause some bad headaches, and it'