linux/drivers/usb/misc
Gustavo A. R. Silva 153de2d66e usb: sisusb_con: Use array_size() helper in memcpy()
Use array_size() helper instead of the open-coded version in memcpy().
These sorts of multiplication factors need to be wrapped in array_size().

This issue was found with the help of Coccinelle and, audited and fixed
manually.

Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200615231827.GA21348@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-18 10:23:30 +02:00
..
sisusbvga usb: sisusb_con: Use array_size() helper in memcpy() 2020-06-18 10:23:30 +02:00
adutux.c USB: adutux: fix interface sanity check 2019-12-10 13:11:22 +01:00
apple-mfi-fastcharge.c USB: apple-mfi-fastcharge: fix endianess issue in probe 2020-02-13 05:07:10 -08:00
appledisplay.c appledisplay: fix error handling in the scheduled work 2019-11-07 11:19:23 +01:00
chaoskey.c USB: chaoskey: fix error case of a timeout 2019-11-11 14:29:39 +01:00
cypress_cy7c63.c USB: cypress_cy7c63: convert to use dev_groups 2019-08-09 07:55:44 +02:00
cytherm.c USB: cytherm: convert to use dev_groups 2019-08-09 07:55:44 +02:00
ehset.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
emi26.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
emi62.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ezusb.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ftdi-elan.c usb: ftdi-elan: move a couple of statements to next line 2019-10-04 14:09:42 +02:00
idmouse.c USB: idmouse: fix interface sanity checks 2019-12-10 13:11:22 +01:00
iowarrior.c USB: misc: iowarrior: add support for the 100 device 2020-02-17 10:44:43 +01:00
isight_firmware.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ldusb.c USB: ldusb: fix control-message timeout 2019-10-28 17:46:24 +01:00
legousbtower.c USB: legousbtower: drop superfluous newlines 2019-11-07 11:17:55 +01:00
lvstest.c USB: lvstest: convert to use dev_groups 2019-08-09 07:55:44 +02:00
Makefile USB: Add driver to control USB fast charge for iOS devices 2020-02-12 11:01:55 -08:00
trancevibrator.c USB: trancevibrator: convert to use dev_groups 2019-08-09 07:55:45 +02:00
usb251xb.c usb: usb251xb: fix regulator probe and error handling 2020-03-04 10:56:26 +01:00
usb3503.c usb: usb3503: Convert to use GPIO descriptors 2019-12-30 20:40:19 +01:00
usb4604.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
usb_u132.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
usblcd.c USB: usblcd: use pr_err() 2019-10-04 11:11:08 +02:00
usbsevseg.c USB: usbsevseg: convert to use dev_groups 2019-08-09 07:55:45 +02:00
usbtest.c usb: misc: usbtest: add super-speed isoc support 2019-02-13 13:03:23 +02:00
uss720.c usb: misc: uss720: Fix two sleep-in-atomic-context bugs 2018-09-05 14:36:53 +02:00
yurex.c USB: yurex: fix NULL-derefs on disconnect 2019-10-10 14:24:06 +02:00