usb: libusual kthread_run() called with wrong format.
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 20 Apr 2008 20:38:34 +0000 (06:38 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 May 2008 17:25:51 +0000 (10:25 -0700)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/libusual.c

index a28d49122e7a046301799edfade54e95f50d1cdd..d617e8ae6b006b6d0b014774d86eb78bd1c9c6e3 100644 (file)
@@ -135,7 +135,7 @@ static int usu_probe(struct usb_interface *intf,
        stat[type].fls |= USU_MOD_FL_THREAD;
        spin_unlock_irqrestore(&usu_lock, flags);
 
-       task = kthread_run(usu_probe_thread, (void*)type, "libusual_%d", type);
+       task = kthread_run(usu_probe_thread, (void*)type, "libusual_%ld", type);
        if (IS_ERR(task)) {
                rc = PTR_ERR(task);
                printk(KERN_WARNING "libusual: "