lkml.org 
[lkml]   [2020]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectnet/vmw_vsock/vmci_transport.c:2057:6: warning: no previous prototype for 'vmci_vsock_transport_cb'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-06-05 13:16    [W:0.117 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site