Loading include/linux/sunrpc/xdr.h +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ #include <asm/unaligned.h> #include <linux/scatterlist.h> struct rpc_rqst; /* * Buffer adjustment */ Loading Loading @@ -222,7 +224,8 @@ struct xdr_stream { /* * These are the xdr_stream style generic XDR encode and decode functions. */ typedef void (*kxdreproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); typedef void (*kxdreproc_t)(struct rpc_rqst *rqstp, struct xdr_stream *xdr, const void *obj); typedef int (*kxdrdproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); Loading net/sunrpc/clnt.c +2 −1 Original line number Diff line number Diff line Loading @@ -2476,7 +2476,8 @@ rpc_verify_header(struct rpc_task *task) 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) { } Loading Loading
include/linux/sunrpc/xdr.h +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ #include <asm/unaligned.h> #include <linux/scatterlist.h> struct rpc_rqst; /* * Buffer adjustment */ Loading Loading @@ -222,7 +224,8 @@ struct xdr_stream { /* * These are the xdr_stream style generic XDR encode and decode functions. */ typedef void (*kxdreproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); typedef void (*kxdreproc_t)(struct rpc_rqst *rqstp, struct xdr_stream *xdr, const void *obj); typedef int (*kxdrdproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj); extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); Loading
net/sunrpc/clnt.c +2 −1 Original line number Diff line number Diff line Loading @@ -2476,7 +2476,8 @@ rpc_verify_header(struct rpc_task *task) 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) { } Loading