mirror-linux/include/linux/sunrpc
Sergey Bashirov c97b737ef8 sunrpc: Change ret code of xdr_stream_decode_opaque_fixed
Since the opaque is fixed in size, the caller already knows how many
bytes were decoded, on success. Thus, xdr_stream_decode_opaque_fixed()
doesn't need to return that value. And, xdr_stream_decode_u32 and _u64
both return zero on success.

This patch simplifies the caller's error checking to avoid potential
integer promotion issues.

Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Sergey Bashirov <sergeybashirov@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2025-09-21 19:24:50 -04:00
..
xdrgen
addr.h
auth.h
auth_gss.h
bc_xprt.h
cache.h
clnt.h
debug.h
gss_api.h
gss_err.h
gss_krb5.h
metrics.h
msg_prot.h sunrpc: fix handling of unknown auth status codes 2025-07-14 12:46:47 -04:00
rdma_rn.h
rpc_pipe_fs.h rpc_create_client_dir(): return 0 or -E... 2025-07-02 22:44:55 -04:00
rpc_rdma.h
rpc_rdma_cid.h
sched.h
stats.h
svc.h sunrpc: rearrange struct svc_rqst for fewer cachelines 2025-07-14 12:46:49 -04:00
svc_rdma.h
svc_rdma_pcl.h
svc_xprt.h
svcauth.h sunrpc: remove SVC_SYSERR 2025-07-14 12:46:48 -04:00
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h sunrpc: Change ret code of xdr_stream_decode_opaque_fixed 2025-09-21 19:24:50 -04:00
xprt.h
xprtmultipath.h
xprtrdma.h
xprtsock.h