linux/drivers/usb/misc/sisusbvga
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
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile usb: sisusb: let files build only when needed 2019-01-25 10:02:49 +01:00
sisusb_con.c usb: sisusb_con: Use array_size() helper in memcpy() 2020-06-18 10:23:30 +02:00
sisusb_init.c usb: sisusb: let files build only when needed 2019-01-25 10:02:49 +01:00
sisusb_init.h Merge 5.7-rc3 into usb-next 2020-04-27 09:32:30 +02:00
sisusb_struct.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
sisusb.c USB: sisusbvga: Change port variable from signed to unsigned 2020-04-23 15:26:17 +02:00
sisusb.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00