diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2012-04-05 16:56:08 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-19 00:50:44 +0400 |
commit | 94011ec24ca1d1d5674651d6f30368f4138dbdd6 (patch) | |
tree | a8528c2c09334357d9bbfd9442ee70cbbbcb139e /drivers | |
parent | 310e9e334f60ca8282990a9c56678a4f58bce81f (diff) | |
download | linux-94011ec24ca1d1d5674651d6f30368f4138dbdd6.tar.xz |
isp1760-hcd: don't confuse parsers on kmem_cache_create
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index fc72d44bf787..02198ee56a1f 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c @@ -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); |