vmxnet3: fix non static symbol warning
Subsystems (3)
PATCH 1/1 vmxnet3: fix non static symbol warning
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/vmxnet3/vmxnet3_drv.c:1645:1: warning:
symbol 'vmxnet3_rq_destroy_all_rxdataring' was not declared. Should it be static?
--- drivers/net/vmxnet3/vmxnet3_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/vmxnet3/vmxnet3_drv.c +1 -1
@@ -1641,7 +1641,7 @@ static void vmxnet3_rq_destroy(struct vmxnet3_rx_queue *rq, } } -void +static void vmxnet3_rq_destroy_all_rxdataring (struct vmxnet3_adapter *adapter) {int i;
Quoted 8 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/vmxnet3/vmxnet3_drv.c:1645:1: warning:
symbol 'vmxnet3_rq_destroy_all_rxdataring' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Thanks for catching and fixing this. The fix looks good. But, could you please send this against net tree instead of net-next?
Quoted 21 lines
---
drivers/net/vmxnet3/vmxnet3_drv.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/vmxnet3/vmxnet3_drv.c +1
-1@@ -1641,7 +1641,7 @@ static void vmxnet3_rq_destroy(struct vmxnet3_rx_queue *rq, } } -void +static void vmxnet3_rq_destroy_all_rxdataring (struct vmxnet3_adapter *adapter) {int i;
PATCH v2 1/1 vmxnet3: fix non static symbol warning
In reply to Wei YongjunFrom: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/vmxnet3/vmxnet3_drv.c:1645:1: warning:
symbol 'vmxnet3_rq_destroy_all_rxdataring' was not declared. Should it be static?
---
v1 -> v2: rebase on netdev tree
--- drivers/net/vmxnet3/vmxnet3_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/vmxnet3/vmxnet3_drv.c +1 -1
@@ -1641,7 +1641,7 @@ static void vmxnet3_rq_destroy(struct vmxnet3_rx_queue *rq, } } -void +static void vmxnet3_rq_destroy_all_rxdataring (struct vmxnet3_adapter *adapter) {int i;
Quoted 8 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/vmxnet3/vmxnet3_drv.c:1645:1: warning:
symbol 'vmxnet3_rq_destroy_all_rxdataring' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Quoted 21 lines
---
v1 -> v2: rebase on netdev tree
---drivers/net/vmxnet3/vmxnet3_drv.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/vmxnet3/vmxnet3_drv.c +1
-1@@ -1641,7 +1641,7 @@ static void vmxnet3_rq_destroy(struct vmxnet3_rx_queue *rq, } } -void +static void vmxnet3_rq_destroy_all_rxdataring (struct vmxnet3_adapter *adapter) {int i;
David Miller
AppliedFrom: Wei Yongjun <[email protected]>
Date: Wed, 24 Aug 2016 15:07:26 +0000
Quoted 8 lines
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/vmxnet3/vmxnet3_drv.c:1645:1: warning:
symbol 'vmxnet3_rq_destroy_all_rxdataring' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Applied to net-next.