Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681945

[RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be static

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be static
Date 2017-07-06 01:50 +0200
Message-ID <u02dr-4D2-1@gated-at.bofh.it> (permalink)
References <u02dr-4D2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fixes: 0c5f0311f690 ("Add linux-next specific files for 20170705")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 tcp_ipv4.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 6ec6900..a20e7f0 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -943,9 +943,9 @@ struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk,
 }
 EXPORT_SYMBOL(tcp_md5_do_lookup);
 
-struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
-					       const union tcp_md5_addr *addr,
-					       int family, u8 prefixlen)
+static struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
+						      const union tcp_md5_addr *addr,
+						      int family, u8 prefixlen)
 {
 	const struct tcp_sock *tp = tcp_sk(sk);
 	struct tcp_md5sig_key *key;

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be static kbuild test robot <fengguang.wu@intel.com> - 2017-07-06 01:50 +0200
  Re: [RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be  static Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-06 02:30 +0200
    Re: [RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be  static Fengguang Wu <fengguang.wu@intel.com> - 2017-07-06 11:00 +0200
    Re: [RFC PATCH linus] tcp: md5: tcp_md5_do_lookup_exact() can be  static David Miller <davem@davemloft.net> - 2017-07-06 12:00 +0200

csiph-web