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 11:55:46 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-03 15:16:56 +0200
commite6aeb47da6e02ec9807d30a368d4fc37972b022f (patch)
tree255a49ac7e6b754ae23bc06dbae6e6aced45ff47 /arch/arm/kernel/ecard.c
parent[ARM] ecard: convert to use the kthread API (diff)
downloadlinux-e6aeb47da6e02ec9807d30a368d4fc37972b022f.tar.xz
linux-e6aeb47da6e02ec9807d30a368d4fc37972b022f.zip
[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);
}