Files
android_kernel_xiaomi_sm8450/drivers/usb/serial
Johan Hovold 8520ac0d70 USB: serial: replace runtime overflow check
Since commit 0a8fd13462 ("USB: fix problems with duplicate endpoint
addresses") USB core guarantees that there are no more than 15 endpoint
descriptors per type (and altsetting) so the corresponding overflow
checks can now be replaced with a compile-time check on the array sizes
(and indirectly the maximum number of ports).

Signed-off-by: Johan Hovold <johan@kernel.org>
2017-03-16 10:33:41 +01:00
..
2015-12-18 09:30:34 -08:00
2017-01-26 09:49:13 +01:00
2017-01-26 09:49:13 +01:00
2017-01-26 09:49:13 +01:00