Home
last modified time | relevance | path

Searched hist:c63fe8f6ca3669f1d120ff70523e2911b9966574 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/core/
H A Ddriver.cdiff c63fe8f6ca3669f1d120ff70523e2911b9966574 Fri Jan 10 12:36:41 CST 2014 Wolfram Sang <wsa@the-dreams.de> usb: core: add sanity checks when using bInterfaceClass with new_id

Check if that field is actually used and if so, bail out if it exeeds a
u8. Make it also future-proof by not requiring "exactly three"
parameters in new_id, but simply "more than two".

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>