All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-6.6 2861/2861] arch/arm64/kvm/arm.c:569:5: sparse: sparse: symbol 'kvm_arch_rec_init' was not declared. Should it be static?
@ 2025-09-10 12:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-10 12:28 UTC (permalink / raw)
  To: kernel, Xu Raoqing; +Cc: oe-kbuild-all

tree:   https://gitee.com/openeuler/kernel.git OLK-6.6
head:   de77e9c80efaf3890697ce25530864472e02bff3
commit: fa36fa3469d2461c1887e823371059401941ae8a [2861/2861] CCA: Fix cca kabi conflict
config: arm64-randconfig-r121-20250907 (https://download.01.org/0day-ci/archive/20250910/202509102008.TYNWJrfa-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce: (https://download.01.org/0day-ci/archive/20250910/202509102008.TYNWJrfa-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/202509102008.TYNWJrfa-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/arm.c:569:5: sparse: sparse: symbol 'kvm_arch_rec_init' was not declared. Should it be static?

vim +/kvm_arch_rec_init +569 arch/arm64/kvm/arm.c

   568	
 > 569	int kvm_arch_rec_init(struct kvm_vcpu_arch *vcpu_arch)
   570	{
   571		struct realm_rec *rec;
   572	
   573		rec = kzalloc(sizeof(struct realm_rec), GFP_KERNEL_ACCOUNT);
   574		if (!rec)
   575			return -ENOMEM;
   576		rec->mpidr = INVALID_HWID;
   577		vcpu_arch->rec = rec;
   578		return 0;
   579	}
   580	

-- 
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:[~2025-09-10 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10 12:28 [openeuler:OLK-6.6 2861/2861] arch/arm64/kvm/arm.c:569:5: sparse: sparse: symbol 'kvm_arch_rec_init' 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.