summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-07-21 16:19:17 -0700
committerEric Biggers <ebiggers@kernel.org>2025-07-21 20:10:36 -0700
commit8cd876e7833758f8a924db2e39530d2a9afd2703 (patch)
treec4239f5e7964d639a654f3451a71d154805e4460 /scripts/lib/kdoc/kdoc_files.py
parent66b130607908417a126de7fdc55f0c671ac365e6 (diff)
lib/crypto: tests: Annotate worker to be on stack
The following warning traceback is seen if object debugging is enabled with the new crypto test code. ODEBUG: object 9000000106237c50 is on stack 9000000106234000, but NOT annotated. ------------[ cut here ]------------ WARNING: lib/debugobjects.c:655 at lookup_object_or_alloc.part.0+0x19c/0x1f4, CPU#0: kunit_try_catch/468 ... This also results in a boot stall when running the code in qemu:loongarch. Initializing the worker with INIT_WORK_ONSTACK() fixes the problem. Fixes: 950a81224e8b ("lib/crypto: tests: Add hash-test-template.h and gen-hash-testvecs.py") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250721231917.3182029-1-linux@roeck-us.net Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions