]> www.infradead.org Git - users/hch/xfs.git/commit
stackinit: Keep selftest union size small on m68k
authorKees Cook <kees@kernel.org>
Tue, 4 Feb 2025 17:45:13 +0000 (09:45 -0800)
committerKees Cook <kees@kernel.org>
Thu, 6 Feb 2025 19:36:12 +0000 (11:36 -0800)
commitbb5408801a5f2ecd76b61dcd539a5c466ebaac4c
treef5a01ba72f9878c2cd065142e1bd99a486064dc2
parentdce4aab8441d285b9a78b33753e0bf583c1320ee
stackinit: Keep selftest union size small on m68k

The stack frame on m68k is very sensitive to the size of what needs to
be stored. Like done for long string testing, reduce the size of the
large trailing struct in the union initialization testing.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/all/CAMuHMdXW8VbtOAixO7w+aDOG70aZtZ50j1Ybcr8B3eYnRUcrcA@mail.gmail.com
Fixes: e71a29db79da ("stackinit: Add union initialization to selftests")
Link: https://lore.kernel.org/r/20250204174509.work.711-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
lib/stackinit_kunit.c