]> git.baikalelectronics.ru Git - kernel.git/commit
net/core: make function ___gnet_stats_copy_basic() static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 26 Sep 2018 12:09:45 +0000 (12:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:25:11 +0000 (10:25 -0700)
commitd687bfbae028557076401fd642bd62f6bb3167f2
treeda6125ca7dd5d390d9003747d9daf0d4c8528be1
parent059ab1c409ac444ed0fa3f64f86971a1e0441ea0
net/core: make function ___gnet_stats_copy_basic() static

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?

Fixes: ffc940759b4a ("net/core: Add new basic hardware counter")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/gen_stats.c