Skip to content

Commit 78bba60

Browse files
geertukees
authored andcommitted
stackinit: Fix comment for test_small_end
In union test_small_end, the small members are three and four. Fixes: e71a29d ("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>
1 parent bb54088 commit 78bba60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stackinit_kunit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ union test_small_start {
351351
} big;
352352
};
353353

354-
/* Mismatched sizes, with one and two being small */
354+
/* Mismatched sizes, with three and four being small */
355355
union test_small_end {
356356
short one;
357357
unsigned long two;

0 commit comments

Comments
 (0)