diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-05-03 05:55:46 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-03 09:16:56 -0400 |
commit | e6aeb47da6e02ec9807d30a368d4fc37972b022f (patch) | |
tree | 255a49ac7e6b754ae23bc06dbae6e6aced45ff47 | |
parent | 134c99e907ef2572cdaa148c191984b95d671981 (diff) |
[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>
-rw-r--r-- | arch/arm/kernel/ecard.c | 2 |
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) | |||
1063 | 1063 | ||
1064 | task = kthread_run(ecard_task, NULL, "kecardd"); | 1064 | task = kthread_run(ecard_task, NULL, "kecardd"); |
1065 | if (IS_ERR(task)) { | 1065 | if (IS_ERR(task)) { |
1066 | printk(KERN_ERR "Ecard: unable to create kernel thread: %d\n", | 1066 | printk(KERN_ERR "Ecard: unable to create kernel thread: %ld\n", |
1067 | PTR_ERR(task)); | 1067 | PTR_ERR(task)); |
1068 | return PTR_ERR(task); | 1068 | return PTR_ERR(task); |
1069 | } | 1069 | } |