* [arm64:for-next/fixes 3/5] arch/arm64/kvm/hyp/vhe/switch.c:221:17: warning: no previous prototype for 'kvm_unexpected_el2_exception'
@ 2020-08-28 20:55 kernel test robot
2020-08-29 10:30 ` Catalin Marinas
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-08-28 20:55 UTC (permalink / raw)
To: James Morse; +Cc: Catalin Marinas, kbuild-all, linux-arm-kernel, Marc Zyngier
[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/fixes
head: 71a7f8cb1ca4ca7214a700b1243626759b6c11d4
commit: e9ee186bb735bfc17fa81dbc9aebf268aee5b41e [3/5] KVM: arm64: Add kvm_extable for vaxorcism code
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-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 e9ee186bb735bfc17fa81dbc9aebf268aee5b41e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/arm64/kvm/hyp/vhe/switch.c:221:17: warning: no previous prototype for 'kvm_unexpected_el2_exception' [-Wmissing-prototypes]
221 | asmlinkage void kvm_unexpected_el2_exception(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> arch/arm64/kvm/hyp/nvhe/switch.c:274:17: warning: no previous prototype for 'kvm_unexpected_el2_exception' [-Wmissing-prototypes]
274 | asmlinkage void kvm_unexpected_el2_exception(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=e9ee186bb735bfc17fa81dbc9aebf268aee5b41e
git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
git fetch --no-tags arm64 for-next/fixes
git checkout e9ee186bb735bfc17fa81dbc9aebf268aee5b41e
vim +/kvm_unexpected_el2_exception +221 arch/arm64/kvm/hyp/vhe/switch.c
220
> 221 asmlinkage void kvm_unexpected_el2_exception(void)
---
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: 50987 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [arm64:for-next/fixes 3/5] arch/arm64/kvm/hyp/vhe/switch.c:221:17: warning: no previous prototype for 'kvm_unexpected_el2_exception'
2020-08-28 20:55 [arm64:for-next/fixes 3/5] arch/arm64/kvm/hyp/vhe/switch.c:221:17: warning: no previous prototype for 'kvm_unexpected_el2_exception' kernel test robot
@ 2020-08-29 10:30 ` Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2020-08-29 10:30 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, James Morse, linux-arm-kernel, Marc Zyngier
On Sat, Aug 29, 2020 at 04:55:41AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/fixes
> head: 71a7f8cb1ca4ca7214a700b1243626759b6c11d4
> commit: e9ee186bb735bfc17fa81dbc9aebf268aee5b41e [3/5] KVM: arm64: Add kvm_extable for vaxorcism code
> config: arm64-defconfig (attached as .config)
> compiler: aarch64-linux-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 e9ee186bb735bfc17fa81dbc9aebf268aee5b41e
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
>
> 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/arm64/kvm/hyp/vhe/switch.c:221:17: warning: no previous prototype for 'kvm_unexpected_el2_exception' [-Wmissing-prototypes]
> 221 | asmlinkage void kvm_unexpected_el2_exception(void)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --
> >> arch/arm64/kvm/hyp/nvhe/switch.c:274:17: warning: no previous prototype for 'kvm_unexpected_el2_exception' [-Wmissing-prototypes]
> 274 | asmlinkage void kvm_unexpected_el2_exception(void)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
We can ignore these. We don't need a prototype as they are called from
assembly only.
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-29 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-28 20:55 [arm64:for-next/fixes 3/5] arch/arm64/kvm/hyp/vhe/switch.c:221:17: warning: no previous prototype for 'kvm_unexpected_el2_exception' kernel test robot
2020-08-29 10:30 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).