[openeuler:OLK-6.6 2329/2329] arch/arm64/kvm/virtcca_cvm.c:810:5: warning: no previous prototype for 'virtcca_get_tmi_version'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 66b0cef2a959be1562a528e3d8cc260dc3803e61 commit: 86b9cab8c4752eb46e3ec038325aee5686805c69 [2329/2329] VirtCCA: an interface to retrieve the TMI version is added config: arm64-randconfig-004-20250529 (https://download.01.org/0day-ci/archive/20250529/202505290152.me3JXaGE-lkp@i...) compiler: aarch64-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250529/202505290152.me3JXaGE-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/202505290152.me3JXaGE-lkp@intel.com/ All warnings (new ones prefixed by >>):
arch/arm64/kvm/virtcca_cvm.c:810:5: warning: no previous prototype for 'virtcca_get_tmi_version' [-Wmissing-prototypes] u64 virtcca_get_tmi_version(void) ^~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y] Selected by [y]: - ARM64 [=y] WARNING: unmet direct dependencies detected for RESCTRL_FS Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y] Selected by [y]: - ARM64_MPAM [=y] vim +/virtcca_get_tmi_version +810 arch/arm64/kvm/virtcca_cvm.c 809
810 u64 virtcca_get_tmi_version(void) 811 { 812 u64 res = tmi_version(); 813 814 if (res == SMCCC_RET_NOT_SUPPORTED) 815 return 0; 816 return res; 817 } 818
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot