android_kernel_xiaomi_sm8350/drivers/usb/class
Al Viro fa4144b758 cdc-wdm endianness fixes
* wMaxPacketSize is le16; copying it to a field of local structure and then
  using that field as host-endian (size of object to be allocated) is broken.
* bMaxPacketSize0 is 8-bit; feeding it to le16_to_cpu() is bogus and since the
  result is used as host-endian, it's not even misspelled cpu_to_le16().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-06-04 08:06:01 -07:00
..
cdc-acm.c USB: add Zoom Telephonics Model 3095F V.92 USB Mini External modem to cdc-acm 2008-05-14 10:00:27 -07:00
cdc-acm.h
cdc-wdm.c cdc-wdm endianness fixes 2008-06-04 08:06:01 -07:00
Kconfig USB: CDC WDM driver 2008-05-20 14:14:15 -07:00
Makefile USB: CDC WDM driver 2008-05-20 14:14:15 -07:00
usblp.c