summaryrefslogtreecommitdiff
path: root/drivers/mtd/afs.c
diff options
context:
space:
mode:
authorRussell King <linux@arm.linux.org.uk>2009-07-18 17:10:44 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-04 12:38:14 +0400
commit0ffd24fc7f82a0b594250e5f221340be4c322cda (patch)
treefac63785fafdde1393f2a8f0964933e4806a5318 /drivers/mtd/afs.c
parent76d6a4791609e4d14b411a513c7648b19b258d8f (diff)
downloadlinux-0ffd24fc7f82a0b594250e5f221340be4c322cda.tar.xz
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.c2
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);