Re: [PATCH] net: mvneta: mark symbols static where possible

2016-09-26 Thread David Miller
From: Baoyou Xie Date: Sun, 25 Sep 2016 17:20:41 +0800 > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/marvell/mvneta.c:639:27: warning: no previous prototype > for 'mvneta_get_stats64' [-Wmissing-prototypes] >

[PATCH] net: mvneta: mark symbols static where possible

2016-09-25 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/net/ethernet/marvell/mvneta.c:639:27: warning: no previous prototype for 'mvneta_get_stats64' [-Wmissing-prototypes] drivers/net/ethernet/marvell/mvneta.c:3529:5: warning: no previous prototype for 'mvneta_ethtool_set_link_ksettings'

Re: [PATCH] net: mvneta: mark symbols static where possible

2016-09-18 Thread Sergei Shtylyov
Hello. On 9/18/2016 12:20 PM, Baoyou Xie wrote: We get 2 warnings when building kernel with W=1: drivers/net/ethernet/marvell/mvneta.c:639:27: warning: no previous prototype for 'mvneta_get_stats64' [-Wmissing-prototypes] drivers/net/ethernet/marvell/mvneta.c:3529:5: warning: no previous

Re: [PATCH] net: mvneta: mark symbols static where possible

2016-09-18 Thread Thomas Petazzoni
Hello, On Sun, 18 Sep 2016 17:20:45 +0800, Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/marvell/mvneta.c:639:27: warning: no previous prototype > for 'mvneta_get_stats64' [-Wmissing-prototypes] > drivers/net/ethernet/marvell/mvneta.c:3529:5:

[PATCH] net: mvneta: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/net/ethernet/marvell/mvneta.c:639:27: warning: no previous prototype for 'mvneta_get_stats64' [-Wmissing-prototypes] drivers/net/ethernet/marvell/mvneta.c:3529:5: warning: no previous prototype for 'mvneta_ethtool_set_link_ksettings'