lkdtm/bugs: Improve warning message for compilers without counted_by support
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Mar 2024 20:18:17 +0000 (13:18 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 22 Mar 2024 23:25:31 +0000 (16:25 -0700)
commit231dc3f0c936db142ef3fa922f1ab751dd532d70
tree2e45bf07025e242331ca34f9fde09c2fbd968e5c
parentd8e45f2929b94099913eb66c3ebb18b5063e9421
lkdtm/bugs: Improve warning message for compilers without counted_by support

The current message for telling the user that their compiler does not
support the counted_by attribute in the FAM_BOUNDS test does not make
much sense either grammatically or semantically. Fix it to make it
correct in both aspects.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20240321-lkdtm-improve-lack-of-counted_by-msg-v1-1-0fbf7481a29c@kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm/bugs.c