Re: [PATCH net] vsock/vmci: make vmci_vsock_transport_cb() static

From: David Miller
Date: Fri Jun 05 2020 - 16:19:12 EST


From: Stefano Garzarella <sgarzare@xxxxxxxxxx>
Date: Fri, 5 Jun 2020 17:12:41 +0200

> Fix the following gcc-9.3 warning when building with 'make W=1':
> net/vmw_vsock/vmci_transport.c:2058:6: warning: no previous prototype
> for ʽvmci_vsock_transport_cbʼ [-Wmissing-prototypes]
> 2058 | void vmci_vsock_transport_cb(bool is_host)
> | ^~~~~~~~~~~~~~~~~~~~~~~
>
> Fixes: b1bba80a4376 ("vsock/vmci: register vmci_transport only when VMCI guest/host are active")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>

Applied, thank you.