diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-11-11 05:06:45 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-11-11 05:15:07 +0100 |
commit | 7112d127984bd7b0c8ded7973b358829f16735f5 (patch) | |
tree | 425d9859fc965a8f49ae5e5a644f9f2216b1b6a3 /tools/scripts | |
parent | Merge branch 'Remove unused test_ipip.sh test and add missed' (diff) | |
download | linux-7112d127984bd7b0c8ded7973b358829f16735f5.tar.xz linux-7112d127984bd7b0c8ded7973b358829f16735f5.zip |
bpf: Compile out btf_parse_module() if module BTF is not enabled
Make sure btf_parse_module() is compiled out if module BTFs are not enabled.
Fixes: 36e68442d1af ("bpf: Load and verify kernel module BTFs")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201111040645.903494-1-andrii@kernel.org
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions