diff options
author | Russell King <linux@arm.linux.org.uk> | 2009-07-18 15:10:44 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-04 10:38:14 +0200 |
commit | 0ffd24fc7f82a0b594250e5f221340be4c322cda (patch) | |
tree | fac63785fafdde1393f2a8f0964933e4806a5318 /drivers/mtd/afs.c | |
parent | mtd: plat-ram: use resource_size (diff) | |
download | linux-0ffd24fc7f82a0b594250e5f221340be4c322cda.tar.xz linux-0ffd24fc7f82a0b594250e5f221340be4c322cda.zip |
mtd: afs: fix build warning
drivers/mtd/afs.c:244: warning: format ‘%5d’ expects type ‘int’, but argument 4 has type ‘uint64_t’
[dwmw2: fix incorrect 'KB' too]
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/afs.c')
-rw-r--r-- | drivers/mtd/afs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/afs.c b/drivers/mtd/afs.c index d072ca5be689..cec7ab98b2a9 100644 --- a/drivers/mtd/afs.c +++ b/drivers/mtd/afs.c @@ -239,7 +239,7 @@ static int parse_afs_partitions(struct mtd_info *mtd, parts[idx].offset = img_ptr; parts[idx].mask_flags = 0; - printk(" mtd%d: at 0x%08x, %5dKB, %8u, %s\n", + printk(" mtd%d: at 0x%08x, %5lluKiB, %8u, %s\n", idx, img_ptr, parts[idx].size / 1024, iis.imageNumber, str); |