Files
linux/scripts
Alejandro Colomar 6b828a87a6 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:
436debc9ca ("array_size.h: add ARRAY_END()")
8118f197b7 ("mm: fix benign off-by-one bugs")
a9e5620c9a ("kernel: fix off-by-one benign bugs")
61e9210e23 ("mm: use ARRAY_END() instead of open-coding it")

Cc: Kees Cook <[email protected]>
Cc: Markus Elfring <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Nicolas Palix <[email protected]>
Signed-off-by: Alejandro Colomar <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
2026-11-01 23:43:35 +01:00
..
2024-10-07 02:12:27 +09:00
…
…
2026-09-26 00:16:35 +01:00
2026-09-26 00:16:35 +01:00
…
…
…
2023-12-03 18:51:48 +09:00
2026-01-11 06:09:11 -10:00
2026-07-27 17:18:00 +02:00