Re: Not compiling with CONFIG_BPF_SYSCALL enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2021-09-01 at 13:36 +0300, Nikita Shubin wrote:
> Hello, Atish.
> 
> The above series won't compile with CONFIG_BPF_SYSCALL set:
> 
> linux/kernel/events/core.c:9912:18: error: assignment to 
> 'bpf_user_pt_regs_t *' {aka 'struct user_regs_struct *'} 
> from incompatible pointer type 'struct pt_regs *' 
> [-Werror=incompatible-pointer-types]
>  9912 |         ctx.regs = perf_arch_bpf_user_pt_regs(regs);
> 
> Just informing you - hope this is helpful.

Thanks for reporting this. I am spinning the v3 of this series. I will
take look.

> 
> Yours,
> Nikita Shubin
> 

-- 
Regards,
Atish




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux