diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-08 14:58:11 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-05-15 17:42:12 +0200 |
commit | 73c8dc133afb0cbe72a9234894ea72c2a0e71a73 (patch) | |
tree | 05ebcfa58759058657f64239fdebb7b68fbfbe27 /net | |
parent | 89daf3602310b46ddf1bea4873be737d8781fc39 (diff) | |
download | linux-73c8dc133afb0cbe72a9234894ea72c2a0e71a73.tar.gz linux-73c8dc133afb0cbe72a9234894ea72c2a0e71a73.tar.bz2 linux-73c8dc133afb0cbe72a9234894ea72c2a0e71a73.zip |
sunrpc: properly type argument to kxdrdproc_t
Pass struct rpc_request as the first argument instead of an untyped blob.
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 'net')
-rw-r--r-- | net/sunrpc/clnt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 9fee20dc0c80..964d5c4a1b60 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -2481,7 +2481,8 @@ static void rpcproc_encode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, { } -static int rpcproc_decode_null(void *rqstp, struct xdr_stream *xdr, void *obj) +static int rpcproc_decode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, + void *obj) { return 0; } |