Re: [patch]missing error check in probing

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

 



On Thu, 27 Aug 2009, Oliver Neukum wrote:

> If usb_set_interface() needs to be called during probing, it
> may return an error which needs to be checked for.

You didn't add a comparable check to usb_unbind_interface().  If the
usb_set_interface() call in there fails, you should set
intf->needs_altsetting0.

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