projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'audit-pr-20180403' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoor...
[linux-2.6-block.git]
/
lib
/
kfifo.c
diff --git
a/lib/kfifo.c
b/lib/kfifo.c
index 90ba1eb1df06e5283a2dad9132b53346f5106812..b0f757bf72136856aa6ae54d93692111bcc1b0c9 100644
(file)
--- a/
lib/kfifo.c
+++ b/
lib/kfifo.c
@@
-39,7
+39,7
@@
int __kfifo_alloc(struct __kfifo *fifo, unsigned int size,
size_t esize, gfp_t gfp_mask)
{
/*
- * round
down
to the next power of 2, since our 'let the indices
+ * round
up
to the next power of 2, since our 'let the indices
* wrap' technique works only in this case.
*/
size = roundup_pow_of_two(size);