From: Benjamin Herrenschmidt Date: Tue, 22 Sep 2009 00:02:30 +0000 (-0700) Subject: mm: kmem_cache_create(): make it easier to catch NULL cache names X-Git-Tag: v2.6.32-rc1~535 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1ff49d0d1c30254dbfc84c3786eb538e0cc7d1;p=pandora-kernel.git mm: kmem_cache_create(): make it easier to catch NULL cache names Right now, if you inadvertently pass NULL to kmem_cache_create() at boot time, it crashes much later after boot somewhere deep inside sysfs which makes it very non obvious to figure out what's going on. Signed-off-by: Benjamin Herrenschmidt Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed