aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-17 13:53:17 -0500
committerDavid S. Miller <davem@davemloft.net>2020-06-18 20:36:07 -0700
commit1260e772dd184b29266b552d90cbf80f6ee4b066 (patch)
tree3e5791b2b80ecbee282b601bf230af6e4a6f0153 /tools/perf/scripts/python/bin
parentnet: napi: remove useless stack trace (diff)
downloadlinux-1260e772dd184b29266b552d90cbf80f6ee4b066.tar.gz
linux-1260e772dd184b29266b552d90cbf80f6ee4b066.zip
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 <gustavoars@kernel.org> Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions