On 1/8/21 2:09 PM, Andrii Nakryiko wrote:
__bpf_free_used_maps() is always defined in kernel/bpf/core.c, while include/linux/bpf.h is guarding it behind CONFIG_BPF_SYSCALL. Move it out of that guard region and fix compiler warning. Reported-by: kernel test robot <l...@intel.com> Fixes: a2ea07465c8d ("bpf: Fix missing prog untrack in release_maps") Signed-off-by: Andrii Nakryiko <and...@kernel.org>
Acked-by: Yonghong Song <y...@fb.com>