vsock/vmci: make vmci_vsock_cb_host_called static
authorMao Wenan <maowenan@huawei.com>
Wed, 20 Nov 2019 15:56:34 +0000 (16:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2019 20:39:29 +0000 (12:39 -0800)
commit2be8ca97d07e1133e81cd3977bd1f94058b65489
tree1f6b572497dd5a2b634fb7819c650e2aa14a2bf7
parente07e75412ba4a8e68f47de345da53847f343f337
vsock/vmci: make vmci_vsock_cb_host_called static

When using make C=2 drivers/misc/vmw_vmci/vmci_driver.o
to compile, below warning can be seen:
drivers/misc/vmw_vmci/vmci_driver.c:33:6: warning:
symbol 'vmci_vsock_cb_host_called' was not declared. Should it be static?

This patch make symbol vmci_vsock_cb_host_called static.

Fixes: b1bba80a4376 ("vsock/vmci: register vmci_transport only when VMCI guest/host are active")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/misc/vmw_vmci/vmci_driver.c