Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-09
STALE3755d

[PATCH] net: ipconfgi: add declaration for ic_addrservaddr

From: Ben Dooks <hidden>
Date: 2016-06-09 11:08:05
Subsystem: networking [general], networking [ipv4/ipv6], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, David Ahern, Ido Schimmel, Linus Torvalds

The symbol ic_addrservaddr is not static, but has no declaration
to match. Since the similar variables are all exported, add this
one to the header file as well.

This fixes the following warning:

net/ipv4/ipconfig.c:130:8: warning: symbol 'ic_addrservaddr' was not declared. Should it be static?

Signed-off-by: Ben Dooks <redacted>
---
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <redacted>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <redacted>
Cc: Patrick McHardy <redacted>
Cc: netdev@vger.kernel.org
---
 include/net/ipconfig.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/net/ipconfig.h b/include/net/ipconfig.h
index c74cc1b..e5f4d6e 100644
--- a/include/net/ipconfig.h
+++ b/include/net/ipconfig.h
@@ -13,6 +13,7 @@ extern __be32 ic_myaddr;		/* My IP address */
 extern __be32 ic_gateway;		/* Gateway IP address */
 
 extern __be32 ic_servaddr;		/* Boot server IP address */
+extern __be32 ic_addrservaddr;		/* IP Address of the IP addresses'server */
 
 extern __be32 root_server_addr;	/* Address of NFS server */
 extern u8 root_server_path[];	/* Path to mount as root */
-- 
2.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help