2022-01-17 11:07:45

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] cifs: clean up an inconsistent indenting

Eliminate the follow smatch warning:
fs/cifs/sess.c:1581 sess_auth_rawntlmssp_authenticate() warn:
inconsistent indenting

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
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


2022-01-18 02:59:22

by Steve French

[permalink] [raw]
Subject: Re: [PATCH -next] cifs: clean up an inconsistent indenting

merged into cifs-2.6.git for-next

On Mon, Jan 17, 2022 at 5:07 AM Yang Li <[email protected]> wrote:
>
> Eliminate the follow smatch warning:
> fs/cifs/sess.c:1581 sess_auth_rawntlmssp_authenticate() warn:
> inconsistent indenting
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> 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
>


--
Thanks,

Steve