[PATCH v1 0/3] Add ENDOF(), and use it to fix off-by-one bugs
From: Alejandro Colomar
Date: Thu Sep 25 2025 - 09:24:25 EST
Hi!
I've split some of the patches from the string patch set, as these are
obvious bug fixes that are trivial to accept.
I've reset the version number of the patch set to 1, to not conflict
with the version numbering of the string series.
Have a lovely day!
Alex
Alejandro Colomar (3):
array_size.h: Add ENDOF()
mm: Fix benign off-by-one bugs
kernel: Fix off-by-one benign bugs
include/linux/array_size.h | 6 ++++++
kernel/kcsan/kcsan_test.c | 4 ++--
mm/kfence/kfence_test.c | 4 ++--
mm/kmsan/kmsan_test.c | 2 +-
4 files changed, 11 insertions(+), 5 deletions(-)
--
2.51.0