commit | 0b44f7a5b5078d737b3f5914978aabb761254840 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <clameter@sgi.com> | Wed May 16 22:10:53 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu May 17 05:23:03 2007 -0700 |
tree | 7d726723f427a3add9a22ac4d34ca236b6f8376a | |
parent | 4b6f0750457db1f573eb6226960a432da3be8fe2 [diff] |
slab: warn on zero-length allocations 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>