Hi Anton, kernel test robot noticed the following build errors: [auto build test ERROR on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Anton-Protopopov/bpf-add-new-map-ops-map_pressure/20230531-190704 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20230531110511.64612-2-aspsk%40isovalent.com patch subject: [PATCH bpf-next 1/2] bpf: add new map ops ->map_pressure config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230601/202306010837.mGhA199K-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/025cc7c86c6c7e108ba5b9946a0f50e0cc082f9b git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Anton-Protopopov/bpf-add-new-map-ops-map_pressure/20230531-190704 git checkout 025cc7c86c6c7e108ba5b9946a0f50e0cc082f9b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=sh olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202306010837.mGhA199K-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): kernel/bpf/hashtab.c: In function 'htab_map_pressure': >> kernel/bpf/hashtab.c:189:24: error: implicit declaration of function '__percpu_counter_sum'; did you mean 'percpu_counter_sum'? [-Werror=implicit-function-declaration] 189 | return __percpu_counter_sum(&htab->pcount); | ^~~~~~~~~~~~~~~~~~~~ | percpu_counter_sum cc1: some warnings being treated as errors vim +189 kernel/bpf/hashtab.c 183 184 static u32 htab_map_pressure(const struct bpf_map *map) 185 { 186 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); 187 188 if (htab->use_percpu_counter) > 189 return __percpu_counter_sum(&htab->pcount); 190 return atomic_read(&htab->count); 191 } 192 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki