projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9409670
)
cifsd: just return smbhash() instead of using rc return value
author
Namjae Jeon
<namjae.jeon@samsung.com>
Wed, 26 May 2021 06:26:33 +0000
(15:26 +0900)
committer
Namjae Jeon
<namjae.jeon@samsung.com>
Wed, 26 May 2021 09:12:00 +0000
(18:12 +0900)
Just return smbhash() instead of using rc return value.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/auth.c
patch
|
blob
|
history
diff --git
a/fs/cifsd/auth.c
b/fs/cifsd/auth.c
index
9263c9c
..
ab69809
100644
(file)
--- a/
fs/cifsd/auth.c
+++ b/
fs/cifsd/auth.c
@@
-115,8
+115,7
@@
static int ksmbd_enc_p24(unsigned char *p21, const unsigned char *c8, unsigned c
rc = smbhash(p24 + 8, c8, p21 + 7);
if (rc)
return rc;
- rc = smbhash(p24 + 16, c8, p21 + 14);
- return rc;
+ return smbhash(p24 + 16, c8, p21 + 14);
}
/* produce a md4 message digest from data of length n bytes */