* [opencloudos:next 6486/6511] arch/x86/kvm/svm/sev.c:2198:6: warning: no previous prototype for 'sev_install_hooks'
@ 2024-05-06 11:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-06 11:18 UTC (permalink / raw)
To: jasperwang, kaixuxia, frankjpliu, kasong, sagazchen, kernelxing,
aurelianliu, jason.zeng, wu.zheng, yingbao.jia, pei.p.jia
Cc: oe-kbuild-all
tree: https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel.git next
head: 956b826d8edba65d77aaf96288bc9ec825dde69d
commit: fe2fcb68d587062952e8cb2b6c14d55ab127f686 [6486/6511] KVM: x86: Support VM_ATTESTATION hypercall
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240506/202405061949.KDw1368n-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240506/202405061949.KDw1368n-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/202405061949.KDw1368n-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/svm/sev.c:2198:6: warning: no previous prototype for 'sev_install_hooks' [-Wmissing-prototypes]
2198 | void sev_install_hooks(void)
| ^~~~~~~~~~~~~~~~~
--
>> arch/x86/kvm/svm/csv.c:30:5: warning: no previous prototype for 'csv_vm_attestation' [-Wmissing-prototypes]
30 | int csv_vm_attestation(struct kvm *kvm, unsigned long gpa, unsigned long len)
| ^~~~~~~~~~~~~~~~~~
vim +/sev_install_hooks +2198 arch/x86/kvm/svm/sev.c
2195
2196 #ifdef CONFIG_HYGON_CSV
2197 /* Code to set all of the function and vaiable pointers */
> 2198 void sev_install_hooks(void)
2199 {
2200 hygon_kvm_hooks.sev_issue_cmd = sev_issue_cmd;
2201 hygon_kvm_hooks.get_num_contig_pages = get_num_contig_pages;
2202 hygon_kvm_hooks.sev_pin_memory = sev_pin_memory;
2203 hygon_kvm_hooks.sev_unpin_memory = sev_unpin_memory;
2204
2205 hygon_kvm_hooks.sev_hooks_installed = true;
2206 }
2207 #endif
2208
--
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:[~2024-05-06 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 11:18 [opencloudos:next 6486/6511] arch/x86/kvm/svm/sev.c:2198:6: warning: no previous prototype for 'sev_install_hooks' 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.