diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-09-23 06:08:16 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2017-10-12 09:41:05 -0400 |
| commit | 24d654fadd70884a719c45ffabb0fe6033996f92 (patch) | |
| tree | ca9e6063fee195fe7973b7a10d5d6b0c699c235d | |
| parent | cbdc8217020b87f039e43ff752c613fa7d5bddd8 (diff) | |
kfifo: Fix comments
Fix some typo.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
| -rw-r--r-- | include/linux/kfifo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h index 41eb6fdf87a8..7b45959ebd92 100644 --- a/include/linux/kfifo.h +++ b/include/linux/kfifo.h | |||
| @@ -325,7 +325,7 @@ __kfifo_uint_must_check_helper( \ | |||
| 325 | * | 325 | * |
| 326 | * This macro dynamically allocates a new fifo buffer. | 326 | * This macro dynamically allocates a new fifo buffer. |
| 327 | * | 327 | * |
| 328 | * The numer of elements will be rounded-up to a power of 2. | 328 | * The number of elements will be rounded-up to a power of 2. |
| 329 | * The fifo will be release with kfifo_free(). | 329 | * The fifo will be release with kfifo_free(). |
| 330 | * Return 0 if no error, otherwise an error code. | 330 | * Return 0 if no error, otherwise an error code. |
| 331 | */ | 331 | */ |
| @@ -358,9 +358,9 @@ __kfifo_int_must_check_helper( \ | |||
| 358 | * @buffer: the preallocated buffer to be used | 358 | * @buffer: the preallocated buffer to be used |
| 359 | * @size: the size of the internal buffer, this have to be a power of 2 | 359 | * @size: the size of the internal buffer, this have to be a power of 2 |
| 360 | * | 360 | * |
| 361 | * This macro initialize a fifo using a preallocated buffer. | 361 | * This macro initializes a fifo using a preallocated buffer. |
| 362 | * | 362 | * |
| 363 | * The numer of elements will be rounded-up to a power of 2. | 363 | * The number of elements will be rounded-up to a power of 2. |
| 364 | * Return 0 if no error, otherwise an error code. | 364 | * Return 0 if no error, otherwise an error code. |
| 365 | */ | 365 | */ |
| 366 | #define kfifo_init(fifo, buffer, size) \ | 366 | #define kfifo_init(fifo, buffer, size) \ |
