[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: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
134c99e907
commit
e6aeb47da6
|
@ -1063,7 +1063,7 @@ static int __init ecard_init(void)
|
||||||
|
|
||||||
task = kthread_run(ecard_task, NULL, "kecardd");
|
task = kthread_run(ecard_task, NULL, "kecardd");
|
||||||
if (IS_ERR(task)) {
|
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));
|
PTR_ERR(task));
|
||||||
return PTR_ERR(task);
|
return PTR_ERR(task);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue