summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-17 02:03:28 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-19 06:19:20 +0300
commit4e638025f25652b052ec54cf75e4cfe4f4663ce7 (patch)
tree9c3adb9752b29a79750c56843de08f07174246fd /tools/perf/scripts/python/exported-sql-viewer.py
parent3dd1499666f64817173c6390ed4d387471d07df8 (diff)
downloadlinux-4e638025f25652b052ec54cf75e4cfe4f4663ce7.tar.xz
net: stmmac: selftests: Use struct_size() helper in kzalloc()
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions