aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBarnabás Pőcze <[email protected]>2022-10-05 15:00:39 +0000
committerHans de Goede <[email protected]>2022-11-16 08:48:18 +0100
commitd6fef93258f3b902f5166297b05d72746e16e1f7 (patch)
treeea6e13499835f6b549fc6c960e1c717eafdbae09 /tools/perf/scripts/python/syscall-counts.py
parenta77272c16041862c5c8d450c8701139887e1bb05 (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.py')
0 files changed, 0 insertions, 0 deletions