summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/ecard.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-05-03 10:55:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-03 14:16:56 +0100
commite6aeb47da6e02ec9807d30a368d4fc37972b022f (patch)
tree255a49ac7e6b754ae23bc06dbae6e6aced45ff47 /arch/arm/kernel/ecard.c
parent134c99e907ef2572cdaa148c191984b95d671981 (diff)
downloadlinux-e6aeb47da6e02ec9807d30a368d4fc37972b022f.tar.bz2
[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>
Diffstat (limited to 'arch/arm/kernel/ecard.c')
-rw-r--r--arch/arm/kernel/ecard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c
index 869de6d3ad53..64d5ba1a1337 100644
--- a/arch/arm/kernel/ecard.c
+++ b/arch/arm/kernel/ecard.c
@@ -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);
}