aboutsummaryrefslogtreecommitdiff
path: root/include/linux/trace_recursion.h
diff options
context:
space:
mode:
authorGuo Zhengkui <[email protected]>2022-03-16 17:28:57 +0800
committerPaolo Abeni <[email protected]>2022-03-17 15:21:16 +0100
commit1abea24af42c35c6eb537e4402836e2cde2a5b13 (patch)
tree431b689970b3d514588729d863cca40a4d1eaf7a /include/linux/trace_recursion.h
parent58e06d05d43a9e37e121edabaada00a9d844444c (diff)
selftests: net: fix array_size.cocci warning
Fix array_size.cocci warning in tools/testing/selftests/net. Use `ARRAY_SIZE(arr)` instead of forms like `sizeof(arr)/sizeof(arr[0])`. It has been tested with gcc (Debian 8.3.0-6) 8.3.0. Signed-off-by: Guo Zhengkui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions