@@ -290,7 +290,7 @@ xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen)
290290/**
291291 * xdr_set_scratch_folio - Attach a scratch buffer for decoding data
292292 * @xdr: pointer to xdr_stream struct
293- * @page : an anonymous folio
293+ * @folio : an anonymous folio
294294 *
295295 * See xdr_set_scratch_buffer().
296296 */
@@ -330,7 +330,7 @@ static inline void xdr_commit_encode(struct xdr_stream *xdr)
330330 * xdr_stream_remaining - Return the number of bytes remaining in the stream
331331 * @xdr: pointer to struct xdr_stream
332332 *
333- * Return value :
333+ * Returns :
334334 * Number of bytes remaining in @xdr before xdr->end
335335 */
336336static inline size_t
@@ -350,7 +350,7 @@ ssize_t xdr_stream_encode_opaque_auth(struct xdr_stream *xdr, u32 flavor,
350350 * xdr_align_size - Calculate padded size of an object
351351 * @n: Size of an object being XDR encoded (in bytes)
352352 *
353- * Return value :
353+ * Returns :
354354 * Size (in bytes) of the object including xdr padding
355355 */
356356static inline size_t
@@ -368,7 +368,7 @@ xdr_align_size(size_t n)
368368 * This implementation avoids the need for conditional
369369 * branches or modulo division.
370370 *
371- * Return value :
371+ * Returns :
372372 * Size (in bytes) of the needed XDR pad
373373 */
374374static inline size_t xdr_pad_size (size_t n )
@@ -380,7 +380,7 @@ static inline size_t xdr_pad_size(size_t n)
380380 * xdr_stream_encode_item_present - Encode a "present" list item
381381 * @xdr: pointer to xdr_stream
382382 *
383- * Return values :
383+ * Returns :
384384 * On success, returns length in bytes of XDR buffer consumed
385385 * %-EMSGSIZE on XDR buffer overflow
386386 */
@@ -399,7 +399,7 @@ static inline ssize_t xdr_stream_encode_item_present(struct xdr_stream *xdr)
399399 * xdr_stream_encode_item_absent - Encode a "not present" list item
400400 * @xdr: pointer to xdr_stream
401401 *
402- * Return values :
402+ * Returns :
403403 * On success, returns length in bytes of XDR buffer consumed
404404 * %-EMSGSIZE on XDR buffer overflow
405405 */
@@ -419,7 +419,7 @@ static inline int xdr_stream_encode_item_absent(struct xdr_stream *xdr)
419419 * @p: address in a buffer into which to encode
420420 * @n: boolean value to encode
421421 *
422- * Return value :
422+ * Returns :
423423 * Address of item following the encoded boolean
424424 */
425425static inline __be32 * xdr_encode_bool (__be32 * p , u32 n )
@@ -433,7 +433,7 @@ static inline __be32 *xdr_encode_bool(__be32 *p, u32 n)
433433 * @xdr: pointer to xdr_stream
434434 * @n: boolean value to encode
435435 *
436- * Return values :
436+ * Returns :
437437 * On success, returns length in bytes of XDR buffer consumed
438438 * %-EMSGSIZE on XDR buffer overflow
439439 */
@@ -453,7 +453,7 @@ static inline int xdr_stream_encode_bool(struct xdr_stream *xdr, __u32 n)
453453 * @xdr: pointer to xdr_stream
454454 * @n: integer to encode
455455 *
456- * Return values :
456+ * Returns :
457457 * On success, returns length in bytes of XDR buffer consumed
458458 * %-EMSGSIZE on XDR buffer overflow
459459 */
@@ -474,7 +474,7 @@ xdr_stream_encode_u32(struct xdr_stream *xdr, __u32 n)
474474 * @xdr: pointer to xdr_stream
475475 * @n: integer to encode
476476 *
477- * Return values :
477+ * Returns :
478478 * On success, returns length in bytes of XDR buffer consumed
479479 * %-EMSGSIZE on XDR buffer overflow
480480 */
@@ -495,7 +495,7 @@ xdr_stream_encode_be32(struct xdr_stream *xdr, __be32 n)
495495 * @xdr: pointer to xdr_stream
496496 * @n: 64-bit integer to encode
497497 *
498- * Return values :
498+ * Returns :
499499 * On success, returns length in bytes of XDR buffer consumed
500500 * %-EMSGSIZE on XDR buffer overflow
501501 */
@@ -517,7 +517,7 @@ xdr_stream_encode_u64(struct xdr_stream *xdr, __u64 n)
517517 * @ptr: pointer to void pointer
518518 * @len: size of object
519519 *
520- * Return values :
520+ * Returns :
521521 * On success, returns length in bytes of XDR buffer consumed
522522 * %-EMSGSIZE on XDR buffer overflow
523523 */
@@ -542,7 +542,7 @@ xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len)
542542 * @ptr: pointer to opaque data object
543543 * @len: size of object pointed to by @ptr
544544 *
545- * Return values :
545+ * Returns :
546546 * On success, returns length in bytes of XDR buffer consumed
547547 * %-EMSGSIZE on XDR buffer overflow
548548 */
@@ -563,7 +563,7 @@ xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t l
563563 * @ptr: pointer to opaque data object
564564 * @len: size of object pointed to by @ptr
565565 *
566- * Return values :
566+ * Returns :
567567 * On success, returns length in bytes of XDR buffer consumed
568568 * %-EMSGSIZE on XDR buffer overflow
569569 */
@@ -585,7 +585,7 @@ xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len)
585585 * @array: array of integers
586586 * @array_size: number of elements in @array
587587 *
588- * Return values :
588+ * Returns :
589589 * On success, returns length in bytes of XDR buffer consumed
590590 * %-EMSGSIZE on XDR buffer overflow
591591 */
@@ -608,7 +608,7 @@ xdr_stream_encode_uint32_array(struct xdr_stream *xdr,
608608 * xdr_item_is_absent - symbolically handle XDR discriminators
609609 * @p: pointer to undecoded discriminator
610610 *
611- * Return values :
611+ * Returns :
612612 * %true if the following XDR item is absent
613613 * %false if the following XDR item is present
614614 */
@@ -621,7 +621,7 @@ static inline bool xdr_item_is_absent(const __be32 *p)
621621 * xdr_item_is_present - symbolically handle XDR discriminators
622622 * @p: pointer to undecoded discriminator
623623 *
624- * Return values :
624+ * Returns :
625625 * %true if the following XDR item is present
626626 * %false if the following XDR item is absent
627627 */
@@ -635,7 +635,7 @@ static inline bool xdr_item_is_present(const __be32 *p)
635635 * @xdr: pointer to xdr_stream
636636 * @ptr: pointer to a u32 in which to store the result
637637 *
638- * Return values :
638+ * Returns :
639639 * %0 on success
640640 * %-EBADMSG on XDR buffer overflow
641641 */
@@ -656,7 +656,7 @@ xdr_stream_decode_bool(struct xdr_stream *xdr, __u32 *ptr)
656656 * @xdr: pointer to xdr_stream
657657 * @ptr: location to store integer
658658 *
659- * Return values :
659+ * Returns :
660660 * %0 on success
661661 * %-EBADMSG on XDR buffer overflow
662662 */
@@ -677,7 +677,7 @@ xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr)
677677 * @xdr: pointer to xdr_stream
678678 * @ptr: location to store integer
679679 *
680- * Return values :
680+ * Returns :
681681 * %0 on success
682682 * %-EBADMSG on XDR buffer overflow
683683 */
@@ -698,7 +698,7 @@ xdr_stream_decode_be32(struct xdr_stream *xdr, __be32 *ptr)
698698 * @xdr: pointer to xdr_stream
699699 * @ptr: location to store 64-bit integer
700700 *
701- * Return values :
701+ * Returns :
702702 * %0 on success
703703 * %-EBADMSG on XDR buffer overflow
704704 */
@@ -720,7 +720,7 @@ xdr_stream_decode_u64(struct xdr_stream *xdr, __u64 *ptr)
720720 * @ptr: location to store data
721721 * @len: size of buffer pointed to by @ptr
722722 *
723- * Return values :
723+ * Returns :
724724 * %0 on success
725725 * %-EBADMSG on XDR buffer overflow
726726 */
@@ -746,7 +746,7 @@ xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len)
746746 * on @xdr. It is therefore expected that the object it points to should
747747 * be processed immediately.
748748 *
749- * Return values :
749+ * Returns :
750750 * On success, returns size of object stored in *@ptr
751751 * %-EBADMSG on XDR buffer overflow
752752 * %-EMSGSIZE if the size of the object would exceed @maxlen
@@ -777,7 +777,7 @@ xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxle
777777 * @array: location to store the integer array or NULL
778778 * @array_size: number of elements to store
779779 *
780- * Return values :
780+ * Returns :
781781 * On success, returns number of elements stored in @array
782782 * %-EBADMSG on XDR buffer overflow
783783 * %-EMSGSIZE if the size of the array exceeds @array_size
0 commit comments