aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRussell King <linux@arm.linux.org.uk>2009-07-18 09:10:44 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-04 04:38:14 -0400
commit0ffd24fc7f82a0b594250e5f221340be4c322cda (patch)
treefac63785fafdde1393f2a8f0964933e4806a5318 /drivers
parent76d6a4791609e4d14b411a513c7648b19b258d8f (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')
-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,
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