projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c941f
)
net/sunrpc/auth_gss/gss_krb5_crypto.c: Use normal negative error value return
author
Joe Perches
<joe@perches.com>
Mon, 15 Nov 2010 02:08:11 +0000
(18:08 -0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 17 Dec 2010 20:48:22 +0000
(15:48 -0500)
And remove unnecessary double semicolon too.
No effect to code, as test is != 0.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_krb5_crypto.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/auth_gss/gss_krb5_crypto.c
b/net/sunrpc/auth_gss/gss_krb5_crypto.c
index
75ee993
..
9576f35
100644
(file)
--- a/
net/sunrpc/auth_gss/gss_krb5_crypto.c
+++ b/
net/sunrpc/auth_gss/gss_krb5_crypto.c
@@
-137,7
+137,7
@@
arcfour_hmac_md5_usage_to_salt(unsigned int usage, u8 salt[4])
ms_usage = 13;
break;
default:
- return
EINVAL;
;
+ return
-EINVAL
;
}
salt[0] = (ms_usage >> 0) & 0xff;
salt[1] = (ms_usage >> 8) & 0xff;