git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b6f075
)
slab: warn on zero-length allocations
author
Christoph Lameter
<clameter@sgi.com>
Thu, 17 May 2007 05:10:53 +0000
(22:10 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:03 +0000
(
05:23
-0700)
slub warns on this, and we're working on making kmalloc(0) return NULL.
Let's make slab warn as well so our testers detect such callers more
rapidly.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found