aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-17 18:15:57 -0500
committerDavid S. Miller <davem@davemloft.net>2020-06-18 20:41:02 -0700
commit9f66a4557e9338eecee4159834c3d1ec4a327158 (patch)
tree305d6d085d541dcdd1c54f382ec1350ce6fab56c /tools/perf/scripts/python
parentlan743x: allow mac address to come from dt (diff)
downloadlinux-9f66a4557e9338eecee4159834c3d1ec4a327158.tar.gz
linux-9f66a4557e9338eecee4159834c3d1ec4a327158.zip
mISDN: hfcsusb: Use struct_size() helper
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')
0 files changed, 0 insertions, 0 deletions