mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Stefano Garzarella <sgarzare@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: net/vmw_vsock/vmci_transport.c:2057:6: warning: no previous prototype for 'vmci_vsock_transport_cb'
Date: Fri, 5 Jun 2020 18:50:04 +0800	[thread overview]
Message-ID: <202006051801.LuvJ8hyB%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-06-05 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202006051801.LuvJ8hyB%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sgarzare@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®