aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2021-09-28 14:57:35 -0500
committerDavid S. Miller <[email protected]>2021-09-29 11:32:14 +0100
commited717613f972453ab924eee8b64a62e0db83be67 (patch)
tree9c755e4cd633df47143d66763d0f655bf81e96c9 /tools/perf/scripts/python
parent4f948b34304c8a8600383256967e9931407acd88 (diff)
ethtool: ioctl: Use array_size() helper in copy_{from,to}_user()
Use array_size() helper instead of the open-coded version in copy_{from,to}_user(). These sorts of multiplication factors need to be wrapped in array_size(). Link: https://github.com/KSPP/linux/issues/160 Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions