Files
linux/tools
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
..
2025-06-26 10:51:41 -07:00
2025-07-23 11:55:22 +02:00
2025-04-22 19:10:04 +01:00
2025-08-19 20:32:54 -04:00
2025-07-28 16:47:35 -04:00
2025-04-28 17:18:48 -07:00