lkml.org 
[lkml]   [2008]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] usb: libusual kthread_run() called with wrong format.
Date
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
drivers/usb/storage/libusual.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -r bf2ff23fda93 drivers/usb/storage/libusual.c
--- a/drivers/usb/storage/libusual.c Mon Apr 07 17:07:09 2008 +1000
+++ b/drivers/usb/storage/libusual.c Mon Apr 07 17:30:33 2008 +1000
@@ -134,7 +134,7 @@ static int usu_probe(struct usb_interfac
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: "

\
 
 \ /
  Last update: 2008-04-20 22:41    [from the cache]
©2003-2011 Jasper Spaans