Re: [PATCH bpf-next] bpf: compile out btf_parse_module() if module BTF is not enabled

2020-11-10 Thread Alexei Starovoitov
On Tue, Nov 10, 2020 at 8:07 PM Andrii Nakryiko wrote: > > Make sure btf_parse_module() is compiled out if module BTFs are not enabled. > > Reported-by: Stephen Rothwell > Fixes: 36e68442d1af ("bpf: Load and verify kernel module BTFs") > Signed-off-by: Andrii Nakryiko Applied. Thanks for quick

[PATCH bpf-next] bpf: compile out btf_parse_module() if module BTF is not enabled

2020-11-10 Thread Andrii Nakryiko
Make sure btf_parse_module() is compiled out if module BTFs are not enabled. Reported-by: Stephen Rothwell Fixes: 36e68442d1af ("bpf: Load and verify kernel module BTFs") Signed-off-by: Andrii Nakryiko --- kernel/bpf/btf.c | 4 1 file changed, 4 insertions(+) diff --git a/kernel/bpf/btf.c