]> www.infradead.org Git - users/hch/configfs.git/commit
bpf: selftests: xfrm: Opt out of using generated kfunc prototypes
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 12 Jun 2024 15:58:35 +0000 (09:58 -0600)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 12 Jun 2024 18:01:31 +0000 (11:01 -0700)
commitc567cba34585514f82600a10587c8813c50e3a7c
tree0d43674a39aa772526021a94de0a2cd8374e0fdc
parentf709124dd72fe7a3f6ba7764b2ed145c55c33e47
bpf: selftests: xfrm: Opt out of using generated kfunc prototypes

The xfrm_info selftest locally defines an aliased type such that folks
with CONFIG_XFRM_INTERFACE=m/n configs can still build the selftests.
See commit aa67961f3243 ("selftests/bpf: Allow building bpf tests with CONFIG_XFRM_INTERFACE=[m|n]").

Thus, it is simpler if this selftest opts out of using enerated kfunc
prototypes. The preprocessor macro this commit uses will be introduced
in the final commit.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/afe0bb1c50487f52542cdd5230c4aef9e36ce250.1718207789.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/xfrm_info.c