linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cifs: Fix inconsistent indenting
@ 2021-05-19 10:47 Jiapeng Chong
  2021-05-20  2:12 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2021-05-19 10:47 UTC (permalink / raw)
  To: sfrench; +Cc: linux-cifs, samba-technical, linux-kernel, Jiapeng Chong

Eliminate the follow smatch warning:

fs/cifs/fs_context.c:1148 smb3_fs_context_parse_param() warn:
inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 fs/cifs/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 5d21cd9..92d4ab0 100644
--- a/fs/cifs/fs_context.c
+++ b/fs/cifs/fs_context.c
@@ -1145,7 +1145,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
 		/* if iocharset not set then load_nls_default
 		 * is used by caller
 		 */
-		 cifs_dbg(FYI, "iocharset set to %s\n", ctx->iocharset);
+		cifs_dbg(FYI, "iocharset set to %s\n", ctx->iocharset);
 		break;
 	case Opt_netbiosname:
 		memset(ctx->source_rfc1001_name, 0x20,
-- 
1.8.3.1


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

* Re: [PATCH] cifs: Fix inconsistent indenting
  2021-05-19 10:47 [PATCH] cifs: Fix inconsistent indenting Jiapeng Chong
@ 2021-05-20  2:12 ` Steve French
  0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2021-05-20  2:12 UTC (permalink / raw)
  To: Jiapeng Chong; +Cc: Steve French, CIFS, samba-technical, LKML

merged into cifs-2.6.git for-next

On Wed, May 19, 2021 at 2:27 PM Jiapeng Chong
<jiapeng.chong@linux.alibaba.com> wrote:
>
> Eliminate the follow smatch warning:
>
> fs/cifs/fs_context.c:1148 smb3_fs_context_parse_param() warn:
> inconsistent indenting.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>  fs/cifs/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 5d21cd9..92d4ab0 100644
> --- a/fs/cifs/fs_context.c
> +++ b/fs/cifs/fs_context.c
> @@ -1145,7 +1145,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
>                 /* if iocharset not set then load_nls_default
>                  * is used by caller
>                  */
> -                cifs_dbg(FYI, "iocharset set to %s\n", ctx->iocharset);
> +               cifs_dbg(FYI, "iocharset set to %s\n", ctx->iocharset);
>                 break;
>         case Opt_netbiosname:
>                 memset(ctx->source_rfc1001_name, 0x20,
> --
> 1.8.3.1
>


-- 
Thanks,

Steve

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

end of thread, other threads:[~2021-05-20  2:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 10:47 [PATCH] cifs: Fix inconsistent indenting Jiapeng Chong
2021-05-20  2:12 ` 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).