Commit 94011ec2 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Greg Kroah-Hartman

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: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 310e9e33
...@@ -2176,7 +2176,7 @@ static const struct hc_driver isp1760_hc_driver = { ...@@ -2176,7 +2176,7 @@ static const struct hc_driver isp1760_hc_driver = {
int __init init_kmem_once(void) 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 | sizeof(struct urb_listitem), 0, SLAB_TEMPORARY |
SLAB_MEM_SPREAD, NULL); SLAB_MEM_SPREAD, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment