[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202005210025.TQYbCfpJ%lkp@intel.com>
Date: Thu, 21 May 2020 00:09:29 +0800
From: kbuild test robot <lkp@...el.com>
To: Vitaly Kuznetsov <vkuznets@...hat.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, x86@...nel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:x86/entry 4/80] drivers/xen/events/events_base.c:1664:6:
warning: no previous prototype for function 'xen_setup_callback_vector'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head: 095b7a3e7745e6fb7cf0a1c09967c4f43e76f8f4
commit: fad1940a6a856f59b073e8650e02052ce531154c [4/80] x86/xen: Split HVM vector callback setup and interrupt gate allocation
config: arm64-randconfig-r026-20200519 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 135b877874fae96b4372c8a3fbfaa8ff44ff86e3)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git checkout fad1940a6a856f59b073e8650e02052ce531154c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@...el.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for function 'xen_setup_callback_vector' [-Wmissing-prototypes]
void xen_setup_callback_vector(void) {}
^
drivers/xen/events/events_base.c:1664:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void xen_setup_callback_vector(void) {}
^
static
drivers/xen/events/events_base.c:1665:20: warning: unused function 'xen_alloc_callback_vector' [-Wunused-function]
static inline void xen_alloc_callback_vector(void) {}
^
2 warnings generated.
vim +/xen_setup_callback_vector +1664 drivers/xen/events/events_base.c
1654
1655 static __init void xen_alloc_callback_vector(void)
1656 {
1657 if (!xen_have_vector_callback)
1658 return;
1659
1660 pr_info("Xen HVM callback vector for event delivery is enabled\n");
1661 alloc_intr_gate(HYPERVISOR_CALLBACK_VECTOR, xen_hvm_callback_vector);
1662 }
1663 #else
> 1664 void xen_setup_callback_vector(void) {}
1665 static inline void xen_alloc_callback_vector(void) {}
1666 #endif
1667
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (38774 bytes)
Powered by blists - more mailing lists