lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1471539835.29842.72.camel@edumazet-glaptop3.roam.corp.google.com>
Date:   Thu, 18 Aug 2016 10:03:55 -0700
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     David Miller <davem@...emloft.net>
Cc:     netdev <netdev@...r.kernel.org>,
        Simon Horman <simon.horman@...ronome.com>
Subject: [PATCH net] sit: ipip6_valid_ip_proto() is static

From: Eric Dumazet <edumazet@...gle.com>

Fixes this sparse error :
net/ipv6/sit.c:1129:6: warning: symbol 'ipip6_valid_ip_proto' was not
declared. Should it be static?


Fixes: 49dbe7ae2168b ("sit: support MPLS over IPv4")
Signed-off-by: Eric Dumazet <edumazet@...gle.com>
---
 net/ipv6/sit.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 182b6a9be29d..d6da9febb12d 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1126,7 +1126,7 @@ static int ipip6_tunnel_update_6rd(struct ip_tunnel *t,
 }
 #endif
 
-bool ipip6_valid_ip_proto(u8 ipproto)
+static bool ipip6_valid_ip_proto(u8 ipproto)
 {
 	return ipproto == IPPROTO_IPV6 ||
 		ipproto == IPPROTO_IPIP ||


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ