mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
kfifo: Fix comments
Fix some typo. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
cbdc821702
commit
24d654fadd
@ -325,7 +325,7 @@ __kfifo_uint_must_check_helper( \
|
|||||||
*
|
*
|
||||||
* This macro dynamically allocates a new fifo buffer.
|
* This macro dynamically allocates a new fifo buffer.
|
||||||
*
|
*
|
||||||
* The numer of elements will be rounded-up to a power of 2.
|
* The number of elements will be rounded-up to a power of 2.
|
||||||
* The fifo will be release with kfifo_free().
|
* The fifo will be release with kfifo_free().
|
||||||
* Return 0 if no error, otherwise an error code.
|
* Return 0 if no error, otherwise an error code.
|
||||||
*/
|
*/
|
||||||
@ -358,9 +358,9 @@ __kfifo_int_must_check_helper( \
|
|||||||
* @buffer: the preallocated buffer to be used
|
* @buffer: the preallocated buffer to be used
|
||||||
* @size: the size of the internal buffer, this have to be a power of 2
|
* @size: the size of the internal buffer, this have to be a power of 2
|
||||||
*
|
*
|
||||||
* This macro initialize a fifo using a preallocated buffer.
|
* This macro initializes a fifo using a preallocated buffer.
|
||||||
*
|
*
|
||||||
* The numer of elements will be rounded-up to a power of 2.
|
* The number of elements will be rounded-up to a power of 2.
|
||||||
* Return 0 if no error, otherwise an error code.
|
* Return 0 if no error, otherwise an error code.
|
||||||
*/
|
*/
|
||||||
#define kfifo_init(fifo, buffer, size) \
|
#define kfifo_init(fifo, buffer, size) \
|
||||||
|
Loading…
Reference in New Issue
Block a user