isp1760-hcd: don't confuse parsers on kmem_cache_create
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Thu, 5 Apr 2012 12:56:08 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 20:50:44 +0000 (13:50 -0700)
If DEBUG is defined, the kmem_cache_create call a
WARN_ON if the name of the cache uses a space.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/isp1760-hcd.c

index fc72d44bf787a7be1907e5736cd3c11cc955e462..02198ee56a1f372e000b3efc854a3617427728e2 100644 (file)
@@ -2176,7 +2176,7 @@ static const struct hc_driver isp1760_hc_driver = {
 
 int __init init_kmem_once(void)
 {
-       urb_listitem_cachep = kmem_cache_create("isp1760 urb_listitem",
+       urb_listitem_cachep = kmem_cache_create("isp1760_urb_listitem",
                        sizeof(struct urb_listitem), 0, SLAB_TEMPORARY |
                        SLAB_MEM_SPREAD, NULL);