Re: [linux-usb-devel] USB host crashing on init-failure

2004-04-12 Thread David Brownell
Marc Singer wrote: My guess is that we'll need to check for an uninitialized driver when removing in case the register field has not yet been set. Right. Not the most common sort of bug, but easy to prevent. - Dave --- This SF.Net email is

[linux-usb-devel] USB host crashing on init-failure

2004-04-10 Thread Marc Singer
I've found that the ohci-hcd driver may crash if there is a problem while it is initializing. In the implementation(s) I'm looking at, the probe code will call the usb_hcd_x_remove function if there is a problem with the driver starting. The remove call will attempt to dereference ohci->regs whic