aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-05-05 15:15:30 +0000
committerThomas Weißschuh <[email protected]>2025-05-21 13:32:37 +0000
commit869c788909b93a78ead1ca28c42b95eeb0779215 (patch)
tree91d70a11d2079b09edb084613075667c6c12133e /mm/filemap.c
parentselftests: harness: Add "variant" and "self" to test metadata (diff)
downloadkernel-869c788909b93a78ead1ca28c42b95eeb0779215.tar.gz
kernel-869c788909b93a78ead1ca28c42b95eeb0779215.zip
selftests: harness: Stop using setjmp()/longjmp()
Usage of longjmp() was added to ensure that teardown is always run in commit 63e6b2a42342 ("selftests/harness: Run TEARDOWN for ASSERT failures") However instead of calling longjmp() to the teardown handler it is easier to just call the teardown handler directly from __bail(). Any potential duplicate teardown invocations are harmless as the actual handler will only ever be executed once since commit fff37bd32c76 ("selftests/harness: Fix fixture teardown"). Additionally this removes a incompatibility with nolibc, which does not support setjmp()/longjmp(). Signed-off-by: Thomas Weißschuh <[email protected]> Acked-by: Shuah Khan <[email protected]> Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-12-ee4dd5257135@linutronix.de Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions