aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGuo Zhengkui <[email protected]>2022-02-23 15:54:23 +0800
committerMichael Ellerman <[email protected]>2022-02-24 17:53:55 +1100
commit8a0edc72bec25fa62450bfef1a150483558e1289 (patch)
tree72a262367732b6cb570baefda970bc2e491aaeeb /tools/perf/scripts/python/stackcollapse.py
parent8b91cee5eadd2021f55e6775f2d50bd56d00c217 (diff)
powerpc/module_64: fix array_size.cocci warning
Fix following coccicheck warning: ./arch/powerpc/kernel/module_64.c:432:40-41: WARNING: Use ARRAY_SIZE. ARRAY_SIZE(arr) is a macro provided by the kernel. It makes sure that arr is an array, so it's safer than sizeof(arr) / sizeof(arr[0]) and more standard. Signed-off-by: Guo Zhengkui <[email protected]> Reviewed-by: Russell Currey <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions