Commit e6aeb47d authored by Russell King's avatar Russell King Committed by Russell King

[ARM] ecard: silence new warning caused by previous commit

PTR_ERR()'s type is unsigned long, so formats when printing
must be %ld, not %d.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 134c99e9
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment