Message ID | 184e4fef6ac.ef8cabb03371505.6462526642609891535@elijahpepe.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | cifs: fix tabbing | expand |
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 > > >
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 --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); } }
Signed-off-by: Elijah Conners <business@elijahpepe.com> --- fs/cifs/cifsroot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)