linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] cifs: clean up an inconsistent indenting
@ 2022-02-17  0:47 Yang Li
  0 siblings, 0 replies; 3+ messages in thread
From: Yang Li @ 2022-02-17  0:47 UTC (permalink / raw)
  To: sfrench; +Cc: linux-cifs, samba-technical, linux-kernel, Yang Li, Abaci Robot

Eliminate the follow smatch warning:
fs/cifs/sess.c:129 cifs_try_adding_channels() 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 764b2131b9a4..a4c80a4dd14d 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -126,7 +126,7 @@ int cifs_try_adding_channels(struct cifs_sb_info *cifs_sb, struct cifs_ses *ses)
 	int tries = 0;
 	struct cifs_server_iface *ifaces = NULL;
 	size_t iface_count;
-dump_stack();
+	dump_stack();
 	if (ses->server->dialect < SMB30_PROT_ID) {
 		cifs_dbg(VFS, "multichannel is not supported on this protocol version, use 3.0 or above\n");
 		return 0;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] cifs: clean up an inconsistent indenting
  2022-01-17  1:11 Yang Li
@ 2022-01-17 19:34 ` Steve French
  0 siblings, 0 replies; 3+ messages in thread
From: Steve French @ 2022-01-17 19:34 UTC (permalink / raw)
  To: Yang Li; +Cc: CIFS, samba-technical, LKML, Abaci Robot

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
>


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH -next] cifs: clean up an inconsistent indenting
@ 2022-01-17  1:11 Yang Li
  2022-01-17 19:34 ` Steve French
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Li @ 2022-01-17  1:11 UTC (permalink / raw)
  To: sfrench; +Cc: linux-cifs, samba-technical, linux-kernel, Yang Li, Abaci Robot

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-17  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17  0:47 [PATCH -next] cifs: clean up an inconsistent indenting Yang Li
  -- strict thread matches above, loose matches on Subject: below --
2022-01-17  1:11 Yang Li
2022-01-17 19:34 ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).