Re: [PATCH -next] cifs: clean up an inconsistent indenting
From: Steve French
Date: Mon Jan 17 2022 - 14:34:48 EST
merged into cifs-2.6.git for-next
On Mon, Jan 17, 2022 at 5:07 AM Yang Li <yang.lee@xxxxxxxxxxxxxxxxx> wrote:
>
> Eliminate the follow smatch warning:
> fs/cifs/sess.c:1581 sess_auth_rawntlmssp_authenticate() warn:
> inconsistent indenting
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
> 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