Discussion:
[PATCH] usb: libusual kthread_run() called with wrong format.
Rusty Russell
2008-04-20 20:38:34 UTC
Permalink
Signed-off-by: Rusty Russell <***@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: "

Loading...