Hi all,
If CONFIG_BPF_SYSCALL=y, but CONFIG_BPF_JIT=n (e.g. m68k/allmodconfig),
net/smc/smc_hs_bpf.c fails to build.
This patch series fix the issue in two ways, by:
1. fixing the dummy variant of register_bpf_struct_ops(),
2. making SMC_HS_CTRL_BPF depend on BPF_JIT.
So far the broken dummy was never detected: until the introduction of
SMC_HS_CTRL_BPF, all users of register_bpf_struct_ops() depended on both
BPF_SYSCALL and BPF_JIT.
Thanks!
Geert Uytterhoeven (2):
bpf: Fix register_bpf_struct_ops() dummy
net: smc: SMC_HS_CTRL_BPF should depend on BPF_JIT
include/linux/bpf.h | 6 +++++-
net/smc/Kconfig | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
--
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds