Content-Type: multipart/mixed; boundary="===============3936900064604819733==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] net/smc: smc_tcp_ls_wq can be static Date: Sat, 05 Feb 2022 20:09:48 +0800 Message-ID: <20220205120947.GA10751@d01e203e4d07> In-Reply-To: <1d7365b47719546fe1f145affb01398d8287b381.1644041638.git.alibuda@linux.alibaba.com> List-Id: --===============3936900064604819733== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable net/smc/af_smc.c:62:25: warning: symbol 'smc_tcp_ls_wq' was not declared. S= hould it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- af_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c index 05b88cbadf3d1..4969ac8029a98 100644 --- a/net/smc/af_smc.c +++ b/net/smc/af_smc.c @@ -59,7 +59,7 @@ static DEFINE_MUTEX(smc_client_lgr_pending); /* serialize= link group * creation on client */ = -struct workqueue_struct *smc_tcp_ls_wq; /* wq for tcp listen work */ +static struct workqueue_struct *smc_tcp_ls_wq; /* wq for tcp listen work */ struct workqueue_struct *smc_hs_wq; /* wq for handshake work */ struct workqueue_struct *smc_close_wq; /* wq for close work */ =20 --===============3936900064604819733==--