aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorShung-Hsi Yu <[email protected]>2024-02-02 09:55:58 +0000
committerMartin KaFai Lau <[email protected]>2024-02-02 22:14:03 +0000
commita68b50f47bec8bd6a33b07b7e1562db2553981a7 (patch)
tree319c590302cf34ab5eae788a6b59f698fe848f09 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentMerge branch 'improvements-for-tracking-scalars-in-the-bpf-verifier' (diff)
downloadkernel-a68b50f47bec8bd6a33b07b7e1562db2553981a7.tar.gz
kernel-a68b50f47bec8bd6a33b07b7e1562db2553981a7.zip
selftests/bpf: trace_helpers.c: do not use poisoned type
After commit c698eaebdf47 ("selftests/bpf: trace_helpers.c: Optimize kallsyms cache") trace_helpers.c now includes libbpf_internal.h, and thus can no longer use the u32 type (among others) since they are poison in libbpf_internal.h. Replace u32 with __u32 to fix the following error when building trace_helpers.c on powerpc: error: attempt to use poisoned "u32" Fixes: c698eaebdf47 ("selftests/bpf: trace_helpers.c: Optimize kallsyms cache") Signed-off-by: Shung-Hsi Yu <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions