diff options
author | 2024-06-12 09:58:29 -0600 | |
---|---|---|
committer | 2024-06-12 11:01:31 -0700 | |
commit | ac42f636dc11b2e8d6dea9dd5bb10a39c7bec342 (patch) | |
tree | 94ecb2c00b4d6e4efed2f684420bc0109cdee0b3 /include | |
parent | bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype (diff) | |
download | wireguard-linux-ac42f636dc11b2e8d6dea9dd5bb10a39c7bec342.tar.xz wireguard-linux-ac42f636dc11b2e8d6dea9dd5bb10a39c7bec342.zip |
bpf: selftests: Fix bpf_map_sum_elem_count() kfunc prototype
The prototype in progs/map_percpu_stats.c is not in line with how the
actual kfuncs are defined in kernel/bpf/map_iter.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/0497e11a71472dcb71ada7c90ad691523ae87c3b.1718207789.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions