* [android-common:android16-6.12 12/12] arch/arm64/kvm/pkvm.c:756:5: warning: no previous prototype for 'pkvm_enable_smc_forwarding'
@ 2026-07-17 11:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-17 11:57 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Nikita,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android16-6.12
head: 1a1783c017b188c47740a5de7ffa05a4b75a2f09
commit: 128144da229a1de12ebe5bca87f607aa348c6ba9 [12/12] ANDROID: KVM: arm64: Add smc64 trap handling for protected guests
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20260717/202607171934.slvzMeUv-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260717/202607171934.slvzMeUv-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/202607171934.slvzMeUv-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/pkvm.c:756:5: warning: no previous prototype for 'pkvm_enable_smc_forwarding' [-Wmissing-prototypes]
756 | int pkvm_enable_smc_forwarding(struct file *kvm_file)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
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] only message in thread
only message in thread, other threads:[~2026-07-17 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17 11:57 [android-common:android16-6.12 12/12] arch/arm64/kvm/pkvm.c:756:5: warning: no previous prototype for 'pkvm_enable_smc_forwarding' 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.