Commit 2ab682d2 authored by Jiri Slaby (SUSE)'s avatar Jiri Slaby (SUSE) Committed by Greg Kroah-Hartman

kfifo: fix typos in kernel-doc

Obviously:
"This macro finish" -> "This macro finishes"
and similar.
Signed-off-by: default avatarJiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Stefani Seibold <stefani@seibold.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/r/20240405060826.2521-9-jirislaby@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d52b761e
...@@ -585,7 +585,7 @@ __kfifo_uint_must_check_helper( \ ...@@ -585,7 +585,7 @@ __kfifo_uint_must_check_helper( \
* @buf: pointer to the storage buffer * @buf: pointer to the storage buffer
* @n: max. number of elements to get * @n: max. number of elements to get
* *
* This macro get some data from the fifo and return the numbers of elements * This macro gets some data from the fifo and returns the numbers of elements
* copied. * copied.
* *
* Note that with only one concurrent reader and one concurrent * Note that with only one concurrent reader and one concurrent
...@@ -612,7 +612,7 @@ __kfifo_uint_must_check_helper( \ ...@@ -612,7 +612,7 @@ __kfifo_uint_must_check_helper( \
* @n: max. number of elements to get * @n: max. number of elements to get
* @lock: pointer to the spinlock to use for locking * @lock: pointer to the spinlock to use for locking
* *
* This macro get the data from the fifo and return the numbers of elements * This macro gets the data from the fifo and returns the numbers of elements
* copied. * copied.
*/ */
#define kfifo_out_spinlocked(fifo, buf, n, lock) \ #define kfifo_out_spinlocked(fifo, buf, n, lock) \
...@@ -745,7 +745,7 @@ __kfifo_int_must_check_helper( \ ...@@ -745,7 +745,7 @@ __kfifo_int_must_check_helper( \
* @fifo: address of the fifo to be used * @fifo: address of the fifo to be used
* @len: number of bytes to received * @len: number of bytes to received
* *
* This macro finish a DMA IN operation. The in counter will be updated by * This macro finishes a DMA IN operation. The in counter will be updated by
* the len parameter. No error checking will be done. * the len parameter. No error checking will be done.
* *
* Note that with only one concurrent reader and one concurrent * Note that with only one concurrent reader and one concurrent
...@@ -801,7 +801,7 @@ __kfifo_int_must_check_helper( \ ...@@ -801,7 +801,7 @@ __kfifo_int_must_check_helper( \
* @fifo: address of the fifo to be used * @fifo: address of the fifo to be used
* @len: number of bytes transferred * @len: number of bytes transferred
* *
* This macro finish a DMA OUT operation. The out counter will be updated by * This macro finishes a DMA OUT operation. The out counter will be updated by
* the len parameter. No error checking will be done. * the len parameter. No error checking will be done.
* *
* Note that with only one concurrent reader and one concurrent * Note that with only one concurrent reader and one concurrent
...@@ -818,7 +818,7 @@ __kfifo_int_must_check_helper( \ ...@@ -818,7 +818,7 @@ __kfifo_int_must_check_helper( \
* @buf: pointer to the storage buffer * @buf: pointer to the storage buffer
* @n: max. number of elements to get * @n: max. number of elements to get
* *
* This macro get the data from the fifo and return the numbers of elements * This macro gets the data from the fifo and returns the numbers of elements
* copied. The data is not removed from the fifo. * copied. The data is not removed from the fifo.
* *
* Note that with only one concurrent reader and one concurrent * Note that with only one concurrent reader and one concurrent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment