aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2021-09-28 15:12:39 -0500
committerDavid S. Miller <[email protected]>2021-09-29 11:32:14 +0100
commit865bfb2affa8eff5182b29aa90803a2df4409834 (patch)
treed427764088f33608b202e9fb289c34532f0ec669 /tools/perf/scripts/python/libxed.py
parented717613f972453ab924eee8b64a62e0db83be67 (diff)
net: bridge: Use array_size() helper in copy_to_user()
Use array_size() helper instead of the open-coded version in copy_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/libxed.py')
0 files changed, 0 insertions, 0 deletions