[openeuler:OLK-6.6 2320/2320] kernel/cgroup/cpuset.c:5231:26: warning: no previous prototype for 'bpf_cpumask_weight'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 9a55d4a78730623072ee5a82518e7c094296b8b6 commit: cb2b3e306ed2549685a2456e484abc8c30618411 [2320/2320] bpf: Add bpf_cpumask_weight() kfunc config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250528/202505281622.nxl9aDmY-lkp@i...) compiler: loongarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250528/202505281622.nxl9aDmY-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202505281622.nxl9aDmY-lkp@intel.com/ All warnings (new ones prefixed by >>): kernel/cgroup/cpuset.c:5224:28: warning: no previous prototype for 'bpf_cpuset_from_task' [-Wmissing-prototypes] 5224 | __bpf_kfunc struct cpuset *bpf_cpuset_from_task(struct task_struct *task) | ^~~~~~~~~~~~~~~~~~~~
kernel/cgroup/cpuset.c:5231:26: warning: no previous prototype for 'bpf_cpumask_weight' [-Wmissing-prototypes] 5231 | __bpf_kfunc unsigned int bpf_cpumask_weight(struct cpumask *pmask) | ^~~~~~~~~~~~~~~~~~
vim +/bpf_cpumask_weight +5231 kernel/cgroup/cpuset.c 5230
5231 __bpf_kfunc unsigned int bpf_cpumask_weight(struct cpumask *pmask) 5232 { 5233 return cpumask_weight(pmask); 5234 } 5235
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot