Re: [PATCH 3/3] USB: serial: metro-usb: add missing interrupt-out endpoint check

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

 



On Thu, Oct 12, 2017 at 10:54:23AM +0200, Johan Hovold wrote:
> One class of "unidirectional" devices managed by this driver uses an
> interrupt-out endpoint to send control messages at open and close. Due
> to a missing endpoint sanity check, this could result in an interrupt
> URB being submitted to endpoint 0 instead. This would be caught by
> USB core (without a WARN dump), but let's verify that the expected
> endpoints are present at probe rather than when a port is later opened.
> 
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
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