diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-06-18 16:35:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-20 06:15:25 +0300 |
commit | e034c6d23bc43266af1fa983212218f4aa38f995 (patch) | |
tree | 52849a855bc441927425cc3b8188c30b57edc31c /tools/perf/scripts/python/stackcollapse.py | |
parent | 70fc6d9c14e24f9efae968589e5edf584a788e23 (diff) | |
download | linux-e034c6d23bc43266af1fa983212218f4aa38f995.tar.xz |
tipc: 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions