From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3074282731492386549==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] tcp: authopt: tcp_authopt_lookup_send() can be static Date: Sat, 28 Aug 2021 19:59:05 +0800 Message-ID: <20210828115905.GA70344@b61407ee9256> In-Reply-To: <73b11222e312a60a17ccaeabbd0e96732289defc.1629840814.git.cdleonard@gmail.com> List-Id: --===============3074282731492386549== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable net/ipv4/tcp_authopt.c:208:29: warning: symbol 'tcp_authopt_lookup_send' wa= s not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- tcp_authopt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ipv4/tcp_authopt.c b/net/ipv4/tcp_authopt.c index af777244d098e..3c3eb0baa7232 100644 --- a/net/ipv4/tcp_authopt.c +++ b/net/ipv4/tcp_authopt.c @@ -205,9 +205,9 @@ static struct tcp_authopt_key_info *tcp_authopt_key_loo= kup_exact(const struct so return NULL; } = -struct tcp_authopt_key_info *tcp_authopt_lookup_send(struct tcp_authopt_in= fo *info, - const struct sock *addr_sk, - int send_id) +static struct tcp_authopt_key_info *tcp_authopt_lookup_send(struct tcp_aut= hopt_info *info, + const struct sock *addr_sk, + int send_id) { struct tcp_authopt_key_info *result =3D NULL; struct tcp_authopt_key_info *key; --===============3074282731492386549==--