On 26 Sep 2018, at 14:09, Wei Yongjun wrote: > Fixes the following sparse warning: > > net/core/gen_stats.c:166:1: warning: > symbol '___gnet_stats_copy_basic' was not declared. Should it be static? > Thanks for fixing my commit ;) Acked-by: Eelco Chaudron <echaudro@xxxxxxxxxx> > Fixes: 5e111210a443 ("net/core: Add new basic hardware counter") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > --- > net/core/gen_stats.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/core/gen_stats.c b/net/core/gen_stats.c > index 65a2e82..9bf1b9a 100644 > --- a/net/core/gen_stats.c > +++ b/net/core/gen_stats.c > @@ -162,7 +162,7 @@ > } > EXPORT_SYMBOL(__gnet_stats_copy_basic); > > -int > +static int > ___gnet_stats_copy_basic(const seqcount_t *running, > struct gnet_dump *d, > struct gnet_stats_basic_cpu __percpu *cpu,