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 <lkp@xxxxxxxxx> Fixes: a2ea07465c8d ("bpf: Fix missing prog untrack in release_maps") Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>