linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:x86/entry 4/80] drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for function 'xen_setup_callback_vector'
@ 2020-05-20 16:09 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-20 16:09 UTC (permalink / raw)
  To: Vitaly Kuznetsov
  Cc: kbuild-all, clang-built-linux, linux-kernel, x86, Thomas Gleixner

[-- Attachment #1: Type: text/plain, Size: 2260 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38774 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-20 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 16:09 [tip:x86/entry 4/80] drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for function 'xen_setup_callback_vector' kbuild test robot

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).