* [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/pkvm.c:756:5: sparse: sparse: symbol 'pkvm_enable_smc_forwarding' was not declared. Should it be static?
@ 2026-09-18 21:07 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-18 21:07 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: 128144da229a1de12ebe5bca87f607aa348c6ba9 [1/1] ANDROID: KVM: arm64: Add smc64 trap handling for protected guests
config: arm64-randconfig-r123-20260910 (https://download.01.org/0day-ci/archive/20260919/202609190530.kVT78zro-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/20260919/202609190530.kVT78zro-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/202609190530.kVT78zro-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/pkvm.c:756:5: sparse: sparse: symbol 'pkvm_enable_smc_forwarding' was not declared. Should it be static?
vim +/pkvm_enable_smc_forwarding +756 arch/arm64/kvm/pkvm.c
755
> 756 int pkvm_enable_smc_forwarding(struct file *kvm_file)
757 {
758 struct kvm *host_kvm;
759
760 if (!file_is_kvm(kvm_file))
761 return -EINVAL;
762
763 if (!kvm_get_kvm_safe(kvm_file->private_data))
764 return -EINVAL;
765
766 host_kvm = kvm_file->private_data;
767 if (!host_kvm)
768 return -EINVAL;
769
770 host_kvm->arch.pkvm.smc_forwarded = true;
771
772 return 0;
773 }
774
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/pkvm.c:756:5: sparse: sparse: symbol 'pkvm_enable_smc_forwarding' was not declared. Should it be static?
@ 2026-09-15 19:18 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-15 19:18 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: 128144da229a1de12ebe5bca87f607aa348c6ba9 [1/1] ANDROID: KVM: arm64: Add smc64 trap handling for protected guests
config: arm64-randconfig-r123-20260910 (https://download.01.org/0day-ci/archive/20260916/202609160309.aT2vP7ne-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/20260916/202609160309.aT2vP7ne-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/202609160309.aT2vP7ne-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/pkvm.c:756:5: sparse: sparse: symbol 'pkvm_enable_smc_forwarding' was not declared. Should it be static?
vim +/pkvm_enable_smc_forwarding +756 arch/arm64/kvm/pkvm.c
755
> 756 int pkvm_enable_smc_forwarding(struct file *kvm_file)
757 {
758 struct kvm *host_kvm;
759
760 if (!file_is_kvm(kvm_file))
761 return -EINVAL;
762
763 if (!kvm_get_kvm_safe(kvm_file->private_data))
764 return -EINVAL;
765
766 host_kvm = kvm_file->private_data;
767 if (!host_kvm)
768 return -EINVAL;
769
770 host_kvm->arch.pkvm.smc_forwarded = true;
771
772 return 0;
773 }
774
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-18 21:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18 21:07 [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/pkvm.c:756:5: sparse: sparse: symbol 'pkvm_enable_smc_forwarding' was not declared. Should it be static? kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-09-15 19:18 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.