From: kernel test robot <lkp@intel.com>
To: Junaid Shahid <junaids@google.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: arch/arm/kvm/../../../virt/kvm/kvm_main.c:633:12: warning: no previous prototype for 'kvm_arch_post_init_vm'
Date: Sat, 11 Jul 2020 21:24:54 +0800 [thread overview]
Message-ID: <202007112151.J8f90Ftk%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2009 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1df0d8960499e58963fd6c8ac75e544f2b417b29
commit: 1aa9b9572b10529c2e64e2b8f44025d86e124308 kvm: x86: mmu: Recovery of shattered NX large pages
date: 8 months ago
config: arm-axm55xx_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 1aa9b9572b10529c2e64e2b8f44025d86e124308
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm/kvm/../../../virt/kvm/kvm_main.c:633:12: warning: no previous prototype for 'kvm_arch_post_init_vm' [-Wmissing-prototypes]
633 | int __weak kvm_arch_post_init_vm(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/arm/kvm/../../../virt/kvm/kvm_main.c:642:13: warning: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Wmissing-prototypes]
642 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/kvm_arch_post_init_vm +633 arch/arm/kvm/../../../virt/kvm/kvm_main.c
628
629 /*
630 * Called after the VM is otherwise initialized, but just before adding it to
631 * the vm_list.
632 */
> 633 int __weak kvm_arch_post_init_vm(struct kvm *kvm)
634 {
635 return 0;
636 }
637
638 /*
639 * Called just after removing the VM from the vm_list, but before doing any
640 * other destruction.
641 */
> 642 void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm)
643 {
644 }
645
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21347 bytes --]
reply other threads:[~2020-07-11 13:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202007112151.J8f90Ftk%lkp@intel.com \
--to=lkp@intel.com \
--cc=junaids@google.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome