Skip to content

Commit

Permalink
[ARM] ecard: silence new warning caused by previous commit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed May 3, 2007
1 parent 134c99e commit e6aeb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/ecard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e6aeb47

Please sign in to comment.