drivers/net/veth.c:1670:14: warning: symbol 'veth_get_num_tx_queues' was not
declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
veth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index 787b4ad2cc876..3cad4d04e5cb9 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -1667,7 +1667,7 @@ static struct net *veth_get_link_net(const struct net_device *dev)
return peer ? dev_net(peer) : dev_net(dev);
}
-unsigned int veth_get_num_tx_queues(void)
+static unsigned int veth_get_num_tx_queues(void)
{
/* enforce the same queue limit as rtnl_create_link */
int queues = queues_nr;
Show replies by thread