projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd0d5e7
)
net: Fix CONFIG_SYSCTL ifdef test.
author
David S. Miller
<davem@davemloft.net>
Thu, 15 May 2014 17:43:14 +0000
(13:43 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 May 2014 17:43:14 +0000
(13:43 -0400)
> include/net/ip.h:211:5: warning: "CONFIG_SYSCTL" is not defined [-Wundef]
> #if CONFIG_SYSCTL
> ^
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/ip.h
b/include/net/ip.h
index 512bcd5dabacac2be1f7d9d59db9353b9f2fa0a1..2e4947895d753a606c0cd0dfc641c87c96241dff 100644
(file)
--- a/
include/net/ip.h
+++ b/
include/net/ip.h
@@
-208,7
+208,7
@@
static inline u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_o
void inet_get_local_port_range(struct net *net, int *low, int *high);
-#if CONFIG_SYSCTL
+#if
def
CONFIG_SYSCTL
static inline int inet_is_local_reserved_port(struct net *net, int port)
{
if (!net->ipv4.sysctl_local_reserved_ports)