[ARM] ecard: silence new warning caused by previous commit
Russell King [Thu, 3 May 2007 09:55:46 +0000 (10:55 +0100)]
PTR_ERR()'s type is unsigned long, so formats when printing
must be %ld, not %d.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

arch/arm/kernel/ecard.c

index 869de6d..64d5ba1 100644 (file)
@@ -1063,7 +1063,7 @@ static int __init ecard_init(void)
 
        task = kthread_run(ecard_task, NULL, "kecardd");
        if (IS_ERR(task)) {
-               printk(KERN_ERR "Ecard: unable to create kernel thread: %d\n",
+               printk(KERN_ERR "Ecard: unable to create kernel thread: %ld\n",
                       PTR_ERR(task));
                return PTR_ERR(task);
        }