[android-common:android16-6.12 12/12] arch/arm64/kvm/hyp/nvhe/iommu/iommu.c:77:23: warning: no previous prototype for '__get_vcpu'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Mostafa, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12 head: c6f9cfff7e5303d62cede4879db0c6a80745aefb commit: 41148bbeb73900a1fe8c5d7c64bbec5207d84c06 [12/12] ANDROID: KVM: arm64: iommu: Make allocation guest aware config: arm64-defconfig (https://download.01.org/0day-ci/archive/20260716/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260716/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> arch/arm64/kvm/hyp/nvhe/iommu/iommu.c:77:23: warning: no previous prototype for '__get_vcpu' [-Wmissing-prototypes] 77 | struct pkvm_hyp_vcpu *__get_vcpu(void) | ^~~~~~~~~~ vim +/__get_vcpu +77 arch/arm64/kvm/hyp/nvhe/iommu/iommu.c 75 76 /* Return current vcpu or NULL for host. */ > 77 struct pkvm_hyp_vcpu *__get_vcpu(void) 78 { 79 struct kvm_vcpu *vcpu = this_cpu_ptr(&kvm_host_data)->host_ctxt.__hyp_running_vcpu; 80 81 if (vcpu) 82 return container_of(vcpu, struct pkvm_hyp_vcpu, vcpu); 83 return NULL; 84 } 85 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki