aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorTiezhu Yang <[email protected]>2023-02-15 11:01:07 +0000
committerAlexei Starovoitov <[email protected]>2023-02-15 16:47:53 +0000
commit524581d1216411a807d34181cb880d991fcb4b96 (patch)
tree65ae729b25b197e39f412185ecd7c2fe92e517a1 /tools/testing/selftests/bpf/prog_tests/recursion.c
parentDocumentation: bpf: Add missing line break separator in node_data struct code... (diff)
downloadkernel-524581d1216411a807d34181cb880d991fcb4b96.tar.gz
kernel-524581d1216411a807d34181cb880d991fcb4b96.zip
selftests/bpf: Fix build error for LoongArch
There exists build error when make -C tools/testing/selftests/bpf/ on LoongArch: BINARY test_verifier In file included from test_verifier.c:27: tools/include/uapi/linux/bpf_perf_event.h:14:28: error: field 'regs' has incomplete type 14 | bpf_user_pt_regs_t regs; | ^~~~ make: *** [Makefile:577: tools/testing/selftests/bpf/test_verifier] Error 1 make: Leaving directory 'tools/testing/selftests/bpf' Add missing uapi header for LoongArch to use the following definition: typedef struct user_pt_regs bpf_user_pt_regs_t; Signed-off-by: Tiezhu Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions