Content-Type: multipart/mixed; boundary="===============7905462610336283683==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] cifs: sanitize_path() can be static Date: Wed, 15 Dec 2021 15:55:25 +0800 Message-ID: <20211215075525.GA49697@a62f85ad114e> In-Reply-To: <20211215030831.24058-1-trbecker@gmail.com> List-Id: --===============7905462610336283683== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable fs/cifs/fs_context.c:442:6: warning: symbol 'sanitize_path' was not declare= d. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- fs_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/fs_context.c b/fs/cifs/fs_context.c index 4ce8a7df3a02e5..f3557d24664c13 100644 --- a/fs/cifs/fs_context.c +++ b/fs/cifs/fs_context.c @@ -439,7 +439,7 @@ int smb3_parse_opt(const char *options, const char *key= , char **val) * but there are some bugs that prevent rename from working if there are * multiple delimiters. */ -void sanitize_path(char *path) { +static void sanitize_path(char *path) { char *pos =3D path, last =3D *path; unsigned int offset =3D 0; =20 --===============7905462610336283683==--