SUNRPC: Fix typo in xdr_buf_subsegment's kdoc comment
authorChuck Lever <chuck.lever@oracle.com>
Mon, 12 Sep 2022 21:23:13 +0000 (17:23 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 26 Sep 2022 18:02:47 +0000 (14:02 -0400)
Fix a typo.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xdr.c

index b7a7e14..336a7c7 100644 (file)
@@ -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)