All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 5609/8449] arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2026-09-19  9:42 kernel test robot
  2026-09-19 12:16 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-09-19  9:42 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3f2425f5b5bbbdd991ca9cdfd5502e68d8895998
commit: 892fc33977cf8b2cf98065e5ae532e4ddbbe09cc [5609/8449] Merge branch kvm-arm64/hyp-type-checking-7.4 into kvmarm-master/next
config: arm64-randconfig-r1307-20260918 (https://download.01.org/0day-ci/archive/20260919/202609191703.VLP7KJSb-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 7252edd9aa82ef1c570ff6694ef7f4763a8a5d2f)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609191703.VLP7KJSb-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/202609191703.VLP7KJSb-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: sparse: symbol '__do___vgic_v5_make_resident' redeclared with different type (incompatible argument 1 (different address spaces)):
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse:    void static [toplevel] __do___vgic_v5_make_resident( ... )
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: note: previously declared as:
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse:    void static [toplevel] [usertype] __do___vgic_v5_make_resident( ... )
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse: sparse: symbol '__do___vgic_v5_make_non_resident' redeclared with different type (incompatible argument 1 (different address spaces)):
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse:    void static [toplevel] __do___vgic_v5_make_non_resident( ... )
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse: note: previously declared as:
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse:    void static [toplevel] [usertype] __do___vgic_v5_make_non_resident( ... )
>> arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct vgic_v5_cpu_if *cpu_if @@     got struct vgic_v5_cpu_if [noderef] __kern * @@
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse:     expected struct vgic_v5_cpu_if *cpu_if
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse:     got struct vgic_v5_cpu_if [noderef] __kern *
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected struct vgic_v5_cpu_if *cpu_if @@     got struct vgic_v5_cpu_if [noderef] __kern * @@
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse:     expected struct vgic_v5_cpu_if *cpu_if
   arch/arm64/kvm/hyp/nvhe/hyp-main.c:858:1: sparse:     got struct vgic_v5_cpu_if [noderef] __kern *

vim +849 arch/arm64/kvm/hyp/nvhe/hyp-main.c

   848	
 > 849	DEFINE_KVM_HOST_HCALL(void, __vgic_v5_make_resident,
   850			      struct vgic_v5_cpu_if __kern *, cpu_if)
   851	{
   852		if (unlikely(is_protected_kvm_enabled()))
   853			return;
   854	
   855		__vgic_v5_make_resident(kern_hyp_va_host(cpu_if));
   856	}
   857	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 5609/8449] arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: sparse: incorrect type in argument 1 (different address spaces)
  2026-09-19  9:42 [linux-next:master 5609/8449] arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot
@ 2026-09-19 12:16 ` Marc Zyngier
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2026-09-19 12:16 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all

On Sat, 19 Sep 2026 10:42:42 +0100,
kernel test robot <lkp@intel.com> wrote:
> 
> vim +849 arch/arm64/kvm/hyp/nvhe/hyp-main.c
> 
>    848	
>  > 849	DEFINE_KVM_HOST_HCALL(void, __vgic_v5_make_resident,
>    850			      struct vgic_v5_cpu_if __kern *, cpu_if)
>    851	{
>    852		if (unlikely(is_protected_kvm_enabled()))
>    853			return;
>    854	
>    855		__vgic_v5_make_resident(kern_hyp_va_host(cpu_if));
>    856	}
>    857	

Merge error, will fix when I remerge the branch.

	M.

-- 
Jazz isn't dead. It just smells funny.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-19 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19  9:42 [linux-next:master 5609/8449] arch/arm64/kvm/hyp/nvhe/hyp-main.c:849:1: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot
2026-09-19 12:16 ` Marc Zyngier

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.