From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, kvm@vger.kernel.org,
Robert Hu <robert.hu@intel.com>,
Farrah Chen <farrah.chen@intel.com>,
Danmei Wei <danmei.wei@intel.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'?
Date: Fri, 07 May 2021 10:33:01 +0200 [thread overview]
Message-ID: <87y2crvt8i.fsf@vitty.brq.redhat.com> (raw)
In-Reply-To: <202105070437.l17T7fhB-lkp@intel.com>
kernel test robot <lkp@intel.com> writes:
> tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head: c6d517aecd40b25ea05c593962b2c4b085092343
> commit: 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc [11/44] x86/kvm: Teardown PV features on boot CPU as well
> config: x86_64-randconfig-c022-20210506 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
> # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
> git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
> git fetch --no-tags kvm queue
> git checkout 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
> # save the attached .config to linux build tree
> make W=1 W=1 ARCH=x86_64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> arch/x86/kernel/kvm.c: In function 'kvm_suspend':
>>> arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? [-Werror=implicit-function-declaration]
> 672 | kvm_guest_cpu_offline();
> | ^~~~~~~~~~~~~~~~~~~~~
> | kvm_guest_cpu_init
> arch/x86/kernel/kvm.c: In function 'kvm_resume':
>>> arch/x86/kernel/kvm.c:679:2: error: implicit declaration of function 'kvm_cpu_online'; did you mean 'irq_cpu_online'? [-Werror=implicit-function-declaration]
> 679 | kvm_cpu_online(raw_smp_processor_id());
> | ^~~~~~~~~~~~~~
> | irq_cpu_online
> cc1: some warnings being treated as errors
>
Oh well, we just need a quantum PC and something like
'make allpossibleconfig' to make issues like this one go away forever
:-)
I'm on it, soemthing needs to be done for !CONFIG_SMP case.
--
Vitaly
prev parent reply other threads:[~2021-05-07 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-06 20:57 [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? kernel test robot
2021-05-07 8:33 ` Vitaly Kuznetsov [this message]
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=87y2crvt8i.fsf@vitty.brq.redhat.com \
--to=vkuznets@redhat.com \
--cc=danmei.wei@intel.com \
--cc=farrah.chen@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kvm@vger.kernel.org \
--cc=lkp@intel.com \
--cc=pbonzini@redhat.com \
--cc=robert.hu@intel.com \
/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