[PATCH powerpc v2] powerpc/bpf: Fix use of user_pt_regs in uapi

Michael Ellerman patch-notifications at ellerman.id.au
Wed Jun 29 22:14:09 AEST 2022


On Tue, 28 Jun 2022 00:41:19 +0530, Naveen N. Rao wrote:
> Trying to build a .c file that includes <linux/bpf_perf_event.h>:
>   $ cat test_bpf_headers.c
>   #include <linux/bpf_perf_event.h>
> 
> throws the below error:
>   /usr/include/linux/bpf_perf_event.h:14:28: error: field ‘regs’ has incomplete type
>      14 |         bpf_user_pt_regs_t regs;
> 	|                            ^~~~
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/bpf: Fix use of user_pt_regs in uapi
      https://git.kernel.org/powerpc/c/b21bd5a4b130f8370861478d2880985daace5913

cheers


More information about the Linuxppc-dev mailing list