summaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/plugins/plugin_function.c
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2026-09-22 21:34:09 +0200
committerJulia Lawall <Julia.Lawall@inria.fr>2026-11-01 23:43:35 +0100
commit6b828a87a63a29bc6b4a597e3a920e2b19c8274e (patch)
tree79ed4d93a38316db269a89a4bd7868da481d4c4d /tools/lib/traceevent/plugins/plugin_function.c
parent6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff)
downloadlinux-6b828a87a63a29bc6b4a597e3a920e2b19c8274e.tar.gz
linux-6b828a87a63a29bc6b4a597e3a920e2b19c8274e.zip
scripts/coccinelle: Add script for using ARRAY_END()
Recently, we added an ARRAY_END() macro to simplify finding a pointer one past the last element in an array. Such a pointer is often called the 'end', and thus the macro name. Make it easy to find more places where that macro should be used. See also: 436debc9cad8 ("array_size.h: add ARRAY_END()") 8118f197b7b7 ("mm: fix benign off-by-one bugs") a9e5620c9a9e ("kernel: fix off-by-one benign bugs") 61e9210e2392 ("mm: use ARRAY_END() instead of open-coding it") Cc: Kees Cook <kees@kernel.org> Cc: Markus Elfring <Markus.Elfring@web.de> Cc: Julia Lawall <Julia.Lawall@inria.fr> Cc: Nicolas Palix <nicolas.palix@imag.fr> Signed-off-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions