aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-09-28 15:17:33 -0500
committerDavid S. Miller <davem@davemloft.net>2021-09-29 11:32:14 +0100
commitf69bf5dee7efdb7cbc0f3a0839989873e10cfa48 (patch)
treea06cf475aef47c7a110f324dfc5270b5d027c16a /tools/perf/scripts/python/bin/stackcollapse-record
parentnet: bridge: Use array_size() helper in copy_to_user() (diff)
downloadlinux-f69bf5dee7efdb7cbc0f3a0839989873e10cfa48.tar.gz
linux-f69bf5dee7efdb7cbc0f3a0839989873e10cfa48.zip
net/mlx4: 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 <gustavoars@kernel.org> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions