diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-08 14:54:06 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-05-15 17:42:11 +0200 |
commit | 89daf3602310b46ddf1bea4873be737d8781fc39 (patch) | |
tree | 6fd9cbd689fcd28de3e3973a438847fa99dcf582 /net/sunrpc/auth_gss/gss_rpc_xdr.h | |
parent | nfsd: fix encoder callback prototypes (diff) | |
download | linux-dev-89daf3602310b46ddf1bea4873be737d8781fc39.tar.xz linux-dev-89daf3602310b46ddf1bea4873be737d8781fc39.zip |
sunrpc/auth_gss: nfsd: fix encoder callback prototypes
Declare the p_encode callbacks with the proper prototype instead of
casting to kxdreproc_t and losing all type safety.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to '')
-rw-r--r-- | net/sunrpc/auth_gss/gss_rpc_xdr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_rpc_xdr.h b/net/sunrpc/auth_gss/gss_rpc_xdr.h index 9d88c6239f01..87cd719ca0ad 100644 --- a/net/sunrpc/auth_gss/gss_rpc_xdr.h +++ b/net/sunrpc/auth_gss/gss_rpc_xdr.h @@ -179,7 +179,7 @@ struct gssx_res_accept_sec_context { #define gssx_dec_init_sec_context NULL void gssx_enc_accept_sec_context(struct rpc_rqst *req, struct xdr_stream *xdr, - struct gssx_arg_accept_sec_context *args); + const void *data); int gssx_dec_accept_sec_context(struct rpc_rqst *rqstp, struct xdr_stream *xdr, struct gssx_res_accept_sec_context *res); |