diff options
author | Barnabás Pőcze <[email protected]> | 2022-10-05 15:00:39 +0000 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-11-16 08:48:18 +0100 |
commit | d6fef93258f3b902f5166297b05d72746e16e1f7 (patch) | |
tree | ea6e13499835f6b549fc6c960e1c717eafdbae09 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | a77272c16041862c5c8d450c8701139887e1bb05 (diff) |
platform/x86: huawei-wmi: do not hard-code sizes
Use `sizeof()` and `ARRAY_SIZE()` instead of
hard-coding buffer sizes and indices.
Signed-off-by: Barnabás Pőcze <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions