Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56477
b: refs/heads/master
c: 1abd727
h: refs/heads/master
i:
  56475: 8fa198c
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed May 17, 2007
1 parent d7f2280 commit b67bdb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: faab83bbcd9e001077e42a7c085f1e871997647f
refs/heads/master: 1abd727ed7abf5c19e7d1760671475cbecbccb0e
2 changes: 1 addition & 1 deletion trunk/include/linux/slub_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static inline int kmalloc_index(int size)
*/
WARN_ON_ONCE(size == 0);

if (size >= (1 << KMALLOC_SHIFT_HIGH))
if (size > (1 << KMALLOC_SHIFT_HIGH))
return -1;

if (size > 64 && size <= 96)
Expand Down

0 comments on commit b67bdb5

Please sign in to comment.