Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9240
b: refs/heads/master
c: eafb427
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Sep 23, 2005
1 parent 5730213 commit ac1f6af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 0cdc82ee1ae36c1ae4631fc3a782faeb0b90df38
refs/heads/master: eafb42707b21beb42bba4eae7b742f837ee9d2e0
3 changes: 1 addition & 2 deletions trunk/mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2907,8 +2907,7 @@ void *__kmalloc(size_t size, unsigned int __nocast flags)
* functions.
*/
cachep = __find_general_cachep(size, flags);
if (unlikely(cachep == NULL))
return NULL;
BUG_ON(!cachep); /* Allocation size too large for kmalloc */
return __cache_alloc(cachep, flags);
}
EXPORT_SYMBOL(__kmalloc);
Expand Down

0 comments on commit ac1f6af

Please sign in to comment.