Thread (14 messages) 14 messages, 4 authors, 2021-09-01

Not compiling with CONFIG_BPF_SYSCALL enabled

From: Nikita Shubin <nikita.shubin@maquefel.me>
Date: 2021-09-01 10:43:46
Also in: bpf, linux-doc, linux-riscv, lkml

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.

Yours,
Nikita Shubin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help