diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2023-05-22 19:35:59 -0600 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-06-01 17:07:56 +0200 |
commit | d933e5f41e4f6c54f4bd3e0b29ca4854fe5fa0d6 (patch) | |
tree | 6881bf88fdb6cb409cb37f9d7f3739a256bf351e /tools/perf/scripts/python/syscall-counts.py | |
parent | 5dd4241964c86e866ae51b5c5b95cd14c5f341e6 (diff) |
vfio/ccw: use struct_size() helper
Prefer struct_size() over open-coded versions.
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Link: https://lore.kernel.org/r/f657276073630e806e69726a40ad1cc85101448a.1684805398.git.gustavoars@kernel.org
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions