projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/arch/arm/kernel/ecard.c
b/arch/arm/kernel/ecard.c
index 869de6d3ad531ea3c0a725e6d34b5420fa3caff7..64d5ba1a1337627559f9f9686894a82c03e920c9 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);
}