diff mbox series

stackinit: Fix comment for test_small_end

Message ID 3f8faa2d7d0d6b36571093ab0fb1fd5157abd7bb.1738593178.git.geert+renesas@glider.be (mailing list archive)
State In Next
Commit 28d00b3e595347838b7a0bc37fd63a6b156754a4
Headers show
Series stackinit: Fix comment for test_small_end | expand

Commit Message

Geert Uytterhoeven Feb. 3, 2025, 2:34 p.m. UTC
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>
---
 lib/stackinit_kunit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kees Cook Feb. 4, 2025, 5:48 p.m. UTC | #1
On Mon, 03 Feb 2025 15:34:07 +0100, Geert Uytterhoeven wrote:
> In union test_small_end, the small members are three and four.
> 
> 

Applied to for-next/hardening, thanks!

[1/1] stackinit: Fix comment for test_small_end
      https://git.kernel.org/kees/c/28d00b3e5953

Take care,
diff mbox series

Patch

diff --git a/lib/stackinit_kunit.c b/lib/stackinit_kunit.c
index fbe910c9c8253480..12ffbcc8d4753107 100644
--- a/lib/stackinit_kunit.c
+++ b/lib/stackinit_kunit.c
@@ -349,7 +349,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;