[openeuler:OLK-6.6 2667/2667] arch/arm64/kvm/cca_base.c:52:6: warning: no previous prototype for 'set_cca_cvm_type'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: a5185c1b0fd7a9b3ea9b6923d5bcedc7392c59b7 commit: 419da4d196ffa97d1430d017d1b36348fea395e5 [2667/2667] VirtCCA: Add CCA base operations. config: arm64-defconfig (https://download.01.org/0day-ci/archive/20250812/202508120416.G0o0Cpl1-lkp@i...) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250812/202508120416.G0o0Cpl1-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/202508120416.G0o0Cpl1-lkp@intel.com/ All warnings (new ones prefixed by >>):
arch/arm64/kvm/cca_base.c:52:6: warning: no previous prototype for 'set_cca_cvm_type' [-Wmissing-prototypes] 52 | void set_cca_cvm_type(int type) | ^~~~~~~~~~~~~~~~
vim +/set_cca_cvm_type +52 arch/arm64/kvm/cca_base.c 51
52 void set_cca_cvm_type(int type) 53 { 54 cca_cvm_type = type; 55 } 56 EXPORT_SYMBOL_GPL(set_cca_cvm_type); 57
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot