diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-08 09:31:19 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 21:57:52 +0200 |
commit | 0aebdc52ca824c38837a652548028e45da72628f (patch) | |
tree | d502dcf491df730bd0c3dd8d652aae7357d76f8d /net | |
parent | Linux 4.12-rc5 (diff) | |
download | linux-0aebdc52ca824c38837a652548028e45da72628f.tar.xz linux-0aebdc52ca824c38837a652548028e45da72628f.zip |
sunrpc: properly type argument to kxdreproc_t
Pass struct rpc_request as the first argument instead of an untyped blob,
and mark the data object as const.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.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 b5cb921775a0..9fee20dc0c80 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -2476,7 +2476,8 @@ out_overflow: goto out_garbage; } -static void rpcproc_encode_null(void *rqstp, struct xdr_stream *xdr, void *obj) +static void rpcproc_encode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, + const void *obj) { } |