]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: bpf: Update kfunc_param_nullable test for new error message
authorPuranjay Mohan <puranjay@kernel.org>
Fri, 2 Jan 2026 18:00:32 +0000 (10:00 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 2 Jan 2026 20:04:29 +0000 (12:04 -0800)
commitdf5004579bbdfe4c734f2cbbf3f44fe3fac440a3
treec76e7072bc0117d8f8ddccebac85ea830e5dae27
parent8fe172fa305f14db815bd88133d2030e4a9e107e
selftests: bpf: Update kfunc_param_nullable test for new error message

With trusted args now being the default, the NULL pointer check runs
before type-specific validation. Update test3 to expect the new error
message "Possibly NULL pointer passed to trusted arg0" instead of the
old dynptr-specific error message.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/r/20260102180038.2708325-7-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/test_kfunc_param_nullable.c