diff mbox series

[-next] cifs: clean up an inconsistent indenting

Message ID 20220117011130.84223-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] cifs: clean up an inconsistent indenting | expand

Commit Message

Yang Li Jan. 17, 2022, 1:11 a.m. UTC
Eliminate the follow smatch warning:
fs/cifs/sess.c:1581 sess_auth_rawntlmssp_authenticate() warn:
inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/cifs/sess.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steve French Jan. 17, 2022, 7:34 p.m. UTC | #1
merged into cifs-2.6.git for-next

On Mon, Jan 17, 2022 at 5:07 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Eliminate the follow smatch warning:
> fs/cifs/sess.c:1581 sess_auth_rawntlmssp_authenticate() warn:
> inconsistent indenting
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  fs/cifs/sess.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
> index d12490e12be5..96434cad0bfe 100644
> --- a/fs/cifs/sess.c
> +++ b/fs/cifs/sess.c
> @@ -1574,7 +1574,7 @@ sess_auth_rawntlmssp_authenticate(struct sess_data *sess_data)
>  out:
>         sess_free_buffer(sess_data);
>
> -        if (!rc)
> +       if (!rc)
>                 rc = sess_establish_session(sess_data);
>
>         /* Cleanup */
> --
> 2.20.1.7.g153144c
>
diff mbox series

Patch

diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index d12490e12be5..96434cad0bfe 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -1574,7 +1574,7 @@  sess_auth_rawntlmssp_authenticate(struct sess_data *sess_data)
 out:
 	sess_free_buffer(sess_data);
 
-	 if (!rc)
+	if (!rc)
 		rc = sess_establish_session(sess_data);
 
 	/* Cleanup */