Hi Dave, kernel test robot noticed the following build warnings: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Dave-Marchevsky/bpf-Support-BPF_F_MMAPABLE-task_local-storage/20231121-020345 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20231120175925.733167-2-davemarchevsky%40fb.com patch subject: [PATCH v1 bpf-next 1/2] bpf: Support BPF_F_MMAPABLE task_local storage config: x86_64-randconfig-121-20231121 (https://download.01.org/0day-ci/archive/20231121/202311211358.O24bsL46-lkp@xxxxxxxxx/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311211358.O24bsL46-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311211358.O24bsL46-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> kernel/bpf/bpf_local_storage.c:30:6: sparse: sparse: symbol 'alloc_mmapable_selem_value' was not declared. Should it be static? >> kernel/bpf/bpf_local_storage.c:291:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct bpf_local_storage_map *smap @@ got struct bpf_local_storage_map [noderef] __rcu *smap @@ kernel/bpf/bpf_local_storage.c:291:14: sparse: expected struct bpf_local_storage_map *smap kernel/bpf/bpf_local_storage.c:291:14: sparse: got struct bpf_local_storage_map [noderef] __rcu *smap kernel/bpf/bpf_local_storage.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...): include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false vim +/alloc_mmapable_selem_value +30 kernel/bpf/bpf_local_storage.c 29 > 30 void *alloc_mmapable_selem_value(struct bpf_local_storage_map *smap) 31 { 32 struct mem_cgroup *memcg, *old_memcg; 33 void *ptr; 34 35 memcg = bpf_map_get_memcg(&smap->map); 36 old_memcg = set_active_memcg(memcg); 37 ptr = bpf_map_area_mmapable_alloc(PAGE_ALIGN(smap->map.value_size), 38 NUMA_NO_NODE); 39 set_active_memcg(old_memcg); 40 mem_cgroup_put(memcg); 41 42 return ptr; 43 } 44 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki