summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_krb5_seal.c
diff options
context:
space:
mode:
authorTrond Myklebust2012-03-11 20:22:54 +0100
committerTrond Myklebust2012-03-12 00:30:02 +0100
commit09acfea5d8de419ebe84be43b08f7b79c965215f (patch)
tree16f7ef15b00d8601917de6812b9ac951c9458ef6 /net/sunrpc/auth_gss/gss_krb5_seal.c
parentNFS: Fix a number of sparse warnings (diff)
downloadkernel-qcow2-linux-09acfea5d8de419ebe84be43b08f7b79c965215f.tar.gz
kernel-qcow2-linux-09acfea5d8de419ebe84be43b08f7b79c965215f.tar.xz
kernel-qcow2-linux-09acfea5d8de419ebe84be43b08f7b79c965215f.zip
SUNRPC: Fix a few sparse warnings
net/sunrpc/svcsock.c:412:22: warning: incorrect type in assignment (different address spaces) - svc_partial_recvfrom now takes a struct kvec, so the variable save_iovbase needs to be an ordinary (void *) Make a bunch of variables in net/sunrpc/xprtsock.c static Fix a couple of "warning: symbol 'foo' was not declared. Should it be static?" reports. Fix a couple of conflicting function declarations. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_seal.c')
-rw-r--r--net/sunrpc/auth_gss/gss_krb5_seal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_krb5_seal.c b/net/sunrpc/auth_gss/gss_krb5_seal.c
index d7941eab7796..62ae3273186c 100644
--- a/net/sunrpc/auth_gss/gss_krb5_seal.c
+++ b/net/sunrpc/auth_gss/gss_krb5_seal.c
@@ -159,7 +159,7 @@ gss_get_mic_v1(struct krb5_ctx *ctx, struct xdr_buf *text,
return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE;
}
-u32
+static u32
gss_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text,
struct xdr_netobj *token)
{