diff mbox series

cifs: fix tabbing

Message ID 184e4fef6ac.ef8cabb03371505.6462526642609891535@elijahpepe.com (mailing list archive)
State New, archived
Headers show
Series cifs: fix tabbing | expand

Commit Message

Elijah Conners Dec. 6, 2022, 1:13 a.m. UTC
Signed-off-by: Elijah Conners <business@elijahpepe.com>
---
 fs/cifs/cifsroot.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Steve French Dec. 6, 2022, 4:42 a.m. UTC | #1
wasn't this problem introduced in your previous patch?  Why not merge
them together since this is a cleanup for the tab problem in the
previous patch

On Mon, Dec 5, 2022 at 7:15 PM Elijah Conners <business@elijahpepe.com> wrote:
>
> Signed-off-by: Elijah Conners <business@elijahpepe.com>
> ---
>  fs/cifs/cifsroot.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/fs/cifs/cifsroot.c b/fs/cifs/cifsroot.c
> index f0aba7c824dc..46aaa731723d 100644
> --- a/fs/cifs/cifsroot.c
> +++ b/fs/cifs/cifsroot.c
> @@ -37,9 +37,9 @@ static void __init parse_srvaddr(char *start, char *end, struct in6_addr *out6,
>         addr[i] = '\0';
>
>         if (inet_pton(AF_INET6, addr, &in6) > 0) {
> -    *out6 = in6;
> -  } else {
> -    *out32 = in_aton(addr);
> +               *out6 = in6;
> +       } else {
> +               *out32 = in_aton(addr);
>    }
>  }
>
> --
> 2.29.2.windows.2
>
>
>
Elijah Conners Dec. 6, 2022, 5:11 a.m. UTC | #2
Steve French <smfrench@gmail.com> writes:
> wasn't this problem introduced in your previous patch?  Why not merge
> them together since this is a cleanup for the tab problem in the
> previous patch
Thank you. I've merged the patches together.
diff mbox series

Patch

diff --git a/fs/cifs/cifsroot.c b/fs/cifs/cifsroot.c
index f0aba7c824dc..46aaa731723d 100644
--- a/fs/cifs/cifsroot.c
+++ b/fs/cifs/cifsroot.c
@@ -37,9 +37,9 @@  static void __init parse_srvaddr(char *start, char *end, struct in6_addr *out6,
 	addr[i] = '\0';
 
 	if (inet_pton(AF_INET6, addr, &in6) > 0) {
-    *out6 = in6;
-  } else {
-    *out32 = in_aton(addr);
+		*out6 = in6;
+	} else {
+		*out32 = in_aton(addr);
   }
 }