diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-08 15:03:02 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-05-15 17:42:13 +0200 |
commit | 305c62417f2e5ff9e784ff7b52e493368373e2d7 (patch) | |
tree | c1e038c3af0edcde66212d3b45962ba3a9c5f57e /net/sunrpc/auth_gss/gss_rpc_xdr.h | |
parent | sunrpc: fix decoder callback prototypes (diff) | |
download | linux-dev-305c62417f2e5ff9e784ff7b52e493368373e2d7.tar.xz linux-dev-305c62417f2e5ff9e784ff7b52e493368373e2d7.zip |
sunrpc/auth_gss: fix decoder callback prototypes
Declare the p_decode callbacks with the proper prototype instead of
casting to kxdrdproc_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 87cd719ca0ad..146c31032917 100644 --- a/net/sunrpc/auth_gss/gss_rpc_xdr.h +++ b/net/sunrpc/auth_gss/gss_rpc_xdr.h @@ -182,7 +182,7 @@ void gssx_enc_accept_sec_context(struct rpc_rqst *req, const void *data); int gssx_dec_accept_sec_context(struct rpc_rqst *rqstp, struct xdr_stream *xdr, - struct gssx_res_accept_sec_context *res); + void *data); #define gssx_enc_release_handle NULL #define gssx_dec_release_handle NULL #define gssx_enc_get_mic NULL |