diff options
Diffstat (limited to 'drivers/usb/mon/mon_text.c')
-rw-r--r-- | drivers/usb/mon/mon_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c index 982b773d71e6..8f27a9e1c36b 100644 --- a/drivers/usb/mon/mon_text.c +++ b/drivers/usb/mon/mon_text.c | |||
@@ -340,7 +340,7 @@ static int mon_text_open(struct inode *inode, struct file *file) | |||
340 | snprintf(rp->slab_name, SLAB_NAME_SZ, "mon_text_%p", rp); | 340 | snprintf(rp->slab_name, SLAB_NAME_SZ, "mon_text_%p", rp); |
341 | rp->e_slab = kmem_cache_create(rp->slab_name, | 341 | rp->e_slab = kmem_cache_create(rp->slab_name, |
342 | sizeof(struct mon_event_text), sizeof(long), 0, | 342 | sizeof(struct mon_event_text), sizeof(long), 0, |
343 | mon_text_ctor, NULL); | 343 | mon_text_ctor); |
344 | if (rp->e_slab == NULL) { | 344 | if (rp->e_slab == NULL) { |
345 | rc = -ENOMEM; | 345 | rc = -ENOMEM; |
346 | goto err_slab; | 346 | goto err_slab; |