OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134c99e
)
[ARM] ecard: silence new warning caused by previous commit
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Thu, 3 May 2007 09:55:46 +0000
(10:55 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 3 May 2007 13:16:56 +0000
(14:16 +0100)
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>
arch/arm/kernel/ecard.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/ecard.c
b/arch/arm/kernel/ecard.c
index
869de6d
..
64d5ba1
100644
(file)
--- 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: %
l
d\n",
PTR_ERR(task));
return PTR_ERR(task);
}