diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-06-15 18:18:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-18 10:23:30 +0200 |
commit | 153de2d66e53b1729a7761b926ca0b89392b3127 (patch) | |
tree | 858b8d934a6589b885eb697dff83fe87f18d9cc6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9ffcc3053f3b6950da6e8b98ab2733d7eee70800 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions