Re: [PATCH 2/2] usb/dummy_hcd: don't probe for udc if hcd failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 14 Apr 2011, Sebastian Andrzej Siewior wrote:

> * Alan Stern | 2011-04-14 14:04:55 [-0400]:
> 
> >> | usbcore: registered new device driver usb
> >> | dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
> >> | dummy_hcd dummy_hcd: Dummy host controller
> >> | dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 1
> >
> >What was the cause of the failure here?
> Is this is a rhetorical question? In case it is not, there was no valid
> USBx flag and we leave. The earlier patch ("usb/hcd: don't return 0 on
> error in usb_add_hcd()") added the missing return code.

Ah, okay.  I saw that you had made the two patches into a series, but I 
didn't realize that the second patch was intended to fix up a failure 
mode created by the first patch.

(It would have been better to do them in the opposite order, so that a
random bisection search wouldn't happen to create a kernel containing
the failure mode.)

Alan Stern

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux