Re: [PATCH] cxgb4: mark symbols static where possible

2016-09-26 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 14:10:09 +0800 > We get 10 warnings when building kernel with W=1: > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:304:5: warning: no previous > prototype for 'cxgb4_dcb_enabled' [-Wmissing-prototypes] >

Re: [PATCH] cxgb4: mark symbols static where possible

2016-09-26 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 14:10:09 +0800 > We get 10 warnings when building kernel with W=1: > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:304:5: warning: no previous > prototype for 'cxgb4_dcb_enabled' [-Wmissing-prototypes] >

[PATCH] cxgb4: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
We get 10 warnings when building kernel with W=1: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:304:5: warning: no previous prototype for 'cxgb4_dcb_enabled' [-Wmissing-prototypes] drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:194:5: warning: no previous prototype for 'setup_sge_queues_uld'

[PATCH] cxgb4: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
We get 10 warnings when building kernel with W=1: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:304:5: warning: no previous prototype for 'cxgb4_dcb_enabled' [-Wmissing-prototypes] drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:194:5: warning: no previous prototype for 'setup_sge_queues_uld'

Re: [PATCH] cxgb4: mark symbols static where possible

2016-09-19 Thread David Miller
From: Baoyou Xie Date: Sun, 18 Sep 2016 17:18:23 +0800 > We get a few warnings when building kernel with W=1: > drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:178:5: warning: no previous > prototype for 'setup_sge_queues_uld' [-Wmissing-prototypes] >

Re: [PATCH] cxgb4: mark symbols static where possible

2016-09-19 Thread David Miller
From: Baoyou Xie Date: Sun, 18 Sep 2016 17:18:23 +0800 > We get a few warnings when building kernel with W=1: > drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:178:5: warning: no previous > prototype for 'setup_sge_queues_uld' [-Wmissing-prototypes] >

[PATCH] cxgb4: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:178:5: warning: no previous prototype for 'setup_sge_queues_uld' [-Wmissing-prototypes] drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:205:6: warning: no previous prototype for

[PATCH] cxgb4: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:178:5: warning: no previous prototype for 'setup_sge_queues_uld' [-Wmissing-prototypes] drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c:205:6: warning: no previous prototype for