diff options
author | Russell King <linux@arm.linux.org.uk> | 2009-07-18 09:10:44 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-04 04:38:14 -0400 |
commit | 0ffd24fc7f82a0b594250e5f221340be4c322cda (patch) | |
tree | fac63785fafdde1393f2a8f0964933e4806a5318 /drivers/mtd/afs.c | |
parent | 76d6a4791609e4d14b411a513c7648b19b258d8f (diff) |
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, | |||
239 | parts[idx].offset = img_ptr; | 239 | parts[idx].offset = img_ptr; |
240 | parts[idx].mask_flags = 0; | 240 | parts[idx].mask_flags = 0; |
241 | 241 | ||
242 | printk(" mtd%d: at 0x%08x, %5dKB, %8u, %s\n", | 242 | printk(" mtd%d: at 0x%08x, %5lluKiB, %8u, %s\n", |
243 | idx, img_ptr, parts[idx].size / 1024, | 243 | idx, img_ptr, parts[idx].size / 1024, |
244 | iis.imageNumber, str); | 244 | iis.imageNumber, str); |
245 | 245 | ||