
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 43d8c124ec4624389b14d42595e5f0195e3e5a1d commit: 225346eb8c1a1c9cc44f816da80a5c12a0e93cba [2679/2679] bpf-rvi: arm64: Add bpf_arm64_cpu_have_feature() kfunc config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20250815/202508150054.NTqDP4S0-lkp@i...) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250815/202508150054.NTqDP4S0-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/202508150054.NTqDP4S0-lkp@intel.com/ All warnings (new ones prefixed by >>):
arch/arm64/kernel/bpf-rvi.c:8:6: warning: no previous prototype for function 'bpf_arm64_cpu_have_feature' [-Wmissing-prototypes] 8 | bool bpf_arm64_cpu_have_feature(unsigned int num) | ^ arch/arm64/kernel/bpf-rvi.c:8:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 8 | bool bpf_arm64_cpu_have_feature(unsigned int num) | ^ | static 1 warning generated.
vim +/bpf_arm64_cpu_have_feature +8 arch/arm64/kernel/bpf-rvi.c 7
8 bool bpf_arm64_cpu_have_feature(unsigned int num) 9 { 10 return cpu_have_feature(num); 11 } 12
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki