aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-06-17 13:53:17 -0500
committerDavid S. Miller <[email protected]>2020-06-18 20:36:07 -0700
commit1260e772dd184b29266b552d90cbf80f6ee4b066 (patch)
tree3e5791b2b80ecbee282b601bf230af6e4a6f0153 /tools/perf/scripts/python/stat-cpi.py
parent427d5838e99632e9218eae752009c873cade89ac (diff)
enetc: 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 <[email protected]> Reviewed-by: Claudiu Manoil <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions