mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* net/vmw_vsock/vmci_transport.c:2057:6: warning: no previous prototype for 'vmci_vsock_transport_cb'
@ 2020-06-05 10:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-05 10:50 UTC (permalink / raw)
  To: Stefano Garzarella; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   435faf5c218a47fd6258187f62d9bb1009717896
commit: b1bba80a4376aef34de2b57bfb8834bd095703ed vsock/vmci: register vmci_transport only when VMCI guest/host are active
date:   7 months ago
config: i386-randconfig-r013-20200605 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
        git checkout b1bba80a4376aef34de2b57bfb8834bd095703ed
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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 >>, old ones prefixed by <<):

>> net/vmw_vsock/vmci_transport.c:2057:6: warning: no previous prototype for 'vmci_vsock_transport_cb' [-Wmissing-prototypes]
2057 | void vmci_vsock_transport_cb(bool is_host)
|      ^~~~~~~~~~~~~~~~~~~~~~~
In file included from net/vmw_vsock/vmci_transport_notify.h:12,
from net/vmw_vsock/vmci_transport.c:30:
include/linux/vmw_vmci_defs.h:162:33: warning: 'VMCI_ANON_SRC_HANDLE' defined but not used [-Wunused-const-variable=]
162 | static const struct vmci_handle VMCI_ANON_SRC_HANDLE = {
|                                 ^~~~~~~~~~~~~~~~~~~~

vim +/vmci_vsock_transport_cb +2057 net/vmw_vsock/vmci_transport.c

  2056	
> 2057	void vmci_vsock_transport_cb(bool is_host)
  2058	{
  2059		int features;
  2060	
  2061		if (is_host)
  2062			features = VSOCK_TRANSPORT_F_H2G;
  2063		else
  2064			features = VSOCK_TRANSPORT_F_G2H;
  2065	
  2066		vsock_core_register(&vmci_transport, features);
  2067	}
  2068	

---
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: 34270 bytes --]

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 10:50 net/vmw_vsock/vmci_transport.c:2057:6: warning: no previous prototype for 'vmci_vsock_transport_cb' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®