[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 lkp at intel.com
Fri Aug 28 16:55:41 EDT 2020


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 50987 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200829/446fa9de/attachment-0001.gz>


More information about the linux-arm-kernel mailing list