diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-13 06:54:12 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-13 06:54:12 +0200 |
commit | 582d21e5e319d38c0485d8b9e92f6f2341f7c79b (patch) | |
tree | e552b4c26ab7af70e31f10dedc90a9ead8d27512 /fs/cifs/netmisc.c | |
parent | [CIFS] CIFSSMBPosixLock should return -EINVAL on error (diff) | |
download | linux-582d21e5e319d38c0485d8b9e92f6f2341f7c79b.tar.xz linux-582d21e5e319d38c0485d8b9e92f6f2341f7c79b.zip |
[CIFS] cleanup old checkpatch warnings
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/netmisc.c')
-rw-r--r-- | fs/cifs/netmisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c index 00f4cff400b3..8703d68f5b20 100644 --- a/fs/cifs/netmisc.c +++ b/fs/cifs/netmisc.c @@ -141,11 +141,11 @@ cifs_inet_pton(const int address_family, const char *cp, void *dst) int ret = 0; /* calculate length by finding first slash or NULL */ - if (address_family == AF_INET) { + if (address_family == AF_INET) ret = in4_pton(cp, -1 /* len */, dst, '\\', NULL); - } else if (address_family == AF_INET6) { + else if (address_family == AF_INET6) ret = in6_pton(cp, -1 /* len */, dst , '\\', NULL); - } + cFYI(DBG2, ("address conversion returned %d for %s", ret, cp)); if (ret > 0) ret = 1; |