sysctl: fix sparse warning: Should it be static?
Impact: Include header file. Fix this sparse warning: net/core/sysctl_net_core.c:123:32: warning: symbol 'net_core_path' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2db096086e
commit
63d819caeb
|
@ -11,6 +11,7 @@
|
|||
#include <linux/socket.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/init.h>
|
||||
#include <net/ip.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
static struct ctl_table net_core_table[] = {
|
||||
|
|
Loading…
Reference in a new issue