All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/hyp/nvhe/iommu/iommu.c:77:22: sparse: sparse: symbol '__get_vcpu' was not declared. Should it be static?
@ 2026-09-15 11:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-15 11:48 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android16-6.12-lts
head:   57041e4a7e52342473871000827584f966d8cbd3
commit: 41148bbeb73900a1fe8c5d7c64bbec5207d84c06 [1/1] ANDROID: KVM: arm64: iommu: Make allocation guest aware
config: arm64-randconfig-r123-20260910 (https://download.01.org/0day-ci/archive/20260915/202609151948.UyiN7MTT-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project d3db069999553568848400c84cbf815c03f5470f)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260915/202609151948.UyiN7MTT-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609151948.UyiN7MTT-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/hyp/nvhe/iommu/iommu.c:77:22: sparse: sparse: symbol '__get_vcpu' was not declared. Should it be static?
   arch/arm64/kvm/hyp/nvhe/iommu/iommu.c:199:21: sparse: sparse: Using plain integer as NULL pointer

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-15 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15 11:48 [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/hyp/nvhe/iommu/iommu.c:77:22: sparse: sparse: symbol '__get_vcpu' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.