summaryrefslogtreecommitdiff
path: root/net/sunrpc/xdr.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-09-13 00:23:13 +0300
committerChuck Lever <chuck.lever@oracle.com>2022-09-26 21:02:47 +0300
commitb8ab2a6f2d67a7f7b03a92348e3f29c1c767a9ca (patch)
tree9e9b23d3fbf5a9aefc1104110b5a89e019470c18 /net/sunrpc/xdr.c
parentd4da5baa533215b14625458e645056baf646bb2e (diff)
downloadlinux-b8ab2a6f2d67a7f7b03a92348e3f29c1c767a9ca.tar.xz
SUNRPC: Fix typo in xdr_buf_subsegment's kdoc comment
Fix a typo. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xdr.c')
-rw-r--r--net/sunrpc/xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c
index b7a7e1467a1b..336a7c7833e4 100644
--- a/net/sunrpc/xdr.c
+++ b/net/sunrpc/xdr.c
@@ -1597,7 +1597,7 @@ EXPORT_SYMBOL_GPL(xdr_buf_from_iov);
*
* @buf and @subbuf may be pointers to the same struct xdr_buf.
*
- * Returns -1 if base of length are out of bounds.
+ * Returns -1 if base or length are out of bounds.
*/
int xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf,
unsigned int base, unsigned int len)