summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2025-02-03 15:34:07 +0100
committerKees Cook <kees@kernel.org>2025-02-06 11:36:25 -0800
commit78bba6097b9318f4aa645afeade14024af86af4e (patch)
tree8b7b1897b60381e898ac76e8d9cfa3912e6363b6 /lib
parentbb5408801a5f2ecd76b61dcd539a5c466ebaac4c (diff)
stackinit: Fix comment for test_small_end
In union test_small_end, the small members are three and four. Fixes: e71a29db79da1946 ("stackinit: Add union initialization to selftests") Closes: https://lore.kernel.org/CAMuHMdWvcKOc6v5o3-9-SqP_4oh5-GZQjZZb=-krhY=mVRED_Q@mail.gmail.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/3f8faa2d7d0d6b36571093ab0fb1fd5157abd7bb.1738593178.git.geert+renesas@glider.be Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/stackinit_kunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stackinit_kunit.c b/lib/stackinit_kunit.c
index 967b345a98fd..135322592faf 100644
--- a/lib/stackinit_kunit.c
+++ b/lib/stackinit_kunit.c
@@ -351,7 +351,7 @@ union test_small_start {
} big;
};
-/* Mismatched sizes, with one and two being small */
+/* Mismatched sizes, with three and four being small */
union test_small_end {
short one;
unsigned long two;