Commit c9e4143c authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Fix ecard.c resource warnings.

Platforms which use ecard.c always have 32-bit resources, so
might as well lose the "long" format strings.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 020732ad
...@@ -883,7 +883,7 @@ static ssize_t ecard_show_resources(struct device *dev, struct device_attribute ...@@ -883,7 +883,7 @@ static ssize_t ecard_show_resources(struct device *dev, struct device_attribute
int i; int i;
for (i = 0; i < ECARD_NUM_RESOURCES; i++) for (i = 0; i < ECARD_NUM_RESOURCES; i++)
str += sprintf(str, "%08lx %08lx %08lx\n", str += sprintf(str, "%08x %08x %08lx\n",
ec->resource[i].start, ec->resource[i].start,
ec->resource[i].end, ec->resource[i].end,
ec->resource[i].flags); ec->resource[i].flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment