diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-05-03 10:55:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-03 14:16:56 +0100 |
commit | e6aeb47da6e02ec9807d30a368d4fc37972b022f (patch) | |
tree | 255a49ac7e6b754ae23bc06dbae6e6aced45ff47 /arch/arm/kernel | |
parent | 134c99e907ef2572cdaa148c191984b95d671981 (diff) | |
download | linux-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')
-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) 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); } |