projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
020732a
)
[ARM] Fix ecard.c resource warnings.
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Mon, 3 Jul 2006 12:29:03 +0000
(13:29 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 3 Jul 2006 12:29:03 +0000
(13:29 +0100)
Platforms which use ecard.c always have 32-bit resources, so
might as well lose the "long" format strings.
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 ab4ad9562eee8f08ee9047102d052f6238f6d01e..b9a74a741d005db9e02243e396b8a4403d4939b1 100644
(file)
--- a/
arch/arm/kernel/ecard.c
+++ b/
arch/arm/kernel/ecard.c
@@
-883,7
+883,7
@@
static ssize_t ecard_show_resources(struct device *dev, struct device_attribute
int i;
for (i = 0; i < ECARD_NUM_RESOURCES; i++)
- str += sprintf(str, "%08
lx %08l
x %08lx\n",
+ str += sprintf(str, "%08
x %08
x %08lx\n",
ec->resource[i].start,
ec->resource[i].end,
ec->resource[i].flags);