diff options
Diffstat (limited to 'lib/kfifo.c')
| -rw-r--r-- | lib/kfifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kfifo.c b/lib/kfifo.c index 90ba1eb1df06..b0f757bf7213 100644 --- a/lib/kfifo.c +++ b/lib/kfifo.c | |||
| @@ -39,7 +39,7 @@ int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, | |||
| 39 | size_t esize, gfp_t gfp_mask) | 39 | size_t esize, gfp_t gfp_mask) |
| 40 | { | 40 | { |
| 41 | /* | 41 | /* |
| 42 | * round down to the next power of 2, since our 'let the indices | 42 | * round up to the next power of 2, since our 'let the indices |
| 43 | * wrap' technique works only in this case. | 43 | * wrap' technique works only in this case. |
| 44 | */ | 44 | */ |
| 45 | size = roundup_pow_of_two(size); | 45 | size = roundup_pow_of_two(size); |
