diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-07-03 13:29:03 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-03 13:29:03 +0100 |
commit | c9e4143c4df08f7b54ba2099480266a6a1303f17 (patch) | |
tree | 7c32d72d0a8bfc462945d9ff8f8c5770167b3789 /arch/arm/kernel/ecard.c | |
parent | 020732ad9add86b71e9d90d5fa7687d51f58ef49 (diff) | |
download | op-kernel-dev-c9e4143c4df08f7b54ba2099480266a6a1303f17.zip op-kernel-dev-c9e4143c4df08f7b54ba2099480266a6a1303f17.tar.gz |
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/ecard.c')
-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 ab4ad95..b9a74a7 100644 --- 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, "%08lx %08lx %08lx\n", + str += sprintf(str, "%08x %08x %08lx\n", ec->resource[i].start, ec->resource[i].end, ec->resource[i].flags); |