tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git
pr/bpf-tail-call-rebased
head: 12d95cef5a1d02eac7bca8b0c873d919d74c35cd
commit: 12d95cef5a1d02eac7bca8b0c873d919d74c35cd [8/8] bpf: track constant keys in
verifier to add poke descriptors
config: i386-randconfig-a002-201945 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
git checkout 12d95cef5a1d02eac7bca8b0c873d919d74c35cd
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel//bpf/core.c: In function 'bpf_free_used_maps':
> kernel//bpf/core.c:2057:3: error: implicit declaration of
function 'bpf_map_put' [-Werror=implicit-function-declaration]
bpf_map_put(map);
^~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/bpf_map_put +2057 kernel//bpf/core.c
2046
2047 static void bpf_free_used_maps(struct bpf_prog_aux *aux)
2048 {
2049 struct bpf_map *map;
2050 int i;
2051
2052 bpf_free_cgroup_storage(aux);
2053 for (i = 0; i < aux->used_map_cnt; i++) {
2054 map = aux->used_maps[i];
2055 if (map->ops->map_poke_untrack)
2056 map->ops->map_poke_untrack(map, aux->prog);
2057 bpf_map_put(map);
2058 }
2059 kfree(aux->used_maps);
2060 }
2061
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation