bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 12 Jun 2024 15:58:28 +0000 (09:58 -0600)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 12 Jun 2024 18:01:31 +0000 (11:01 -0700)
commit89f0b1abac497c47d0851b780abecc756c1e8734
tree19cb226b6eca78783a58d47c3e60c93b1ad5f926
parentdff96e4f5078c6c61fc6c36dddf27b124c4318fc
bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype

The prototype in progs/nested_trust_common.h is not in line with how the
actual kfuncs are defined in kernel/bpf/cpumask.c. This causes compilation
errors when kfunc prototypes are generated from BTF.

Fix by aligning with actual kfunc definitions.

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