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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user