Re: [PATCH net-next] vsock/vmci: make vmci_vsock_cb_host_called static
From: David Miller
Date: Wed Nov 20 2019 - 15:40:14 EST
From: Stefano Garzarella <sgarzare@xxxxxxxxxx>
Date: Wed, 20 Nov 2019 16:56:34 +0100
> From: Mao Wenan <maowenan@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>
> ---
> Hi Dave,
> do you think it could go through net-next since it solves a problem
> introduced by "vsock: add multi-transports support" series?
>
> Adding R-b from "kbuild test robot" that found the same issue.
Applied to net-next.