summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-05-03 13:55:46 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-03 17:16:56 +0400
commite6aeb47da6e02ec9807d30a368d4fc37972b022f (patch)
tree255a49ac7e6b754ae23bc06dbae6e6aced45ff47 /arch/arm/kernel
parent134c99e907ef2572cdaa148c191984b95d671981 (diff)
downloadlinux-e6aeb47da6e02ec9807d30a368d4fc37972b022f.tar.xz
[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')
-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);
}