diff options
author | Russell King <linux@arm.linux.org.uk> | 2009-07-18 14:10:44 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-04 09:38:14 +0100 |
commit | 0ffd24fc7f82a0b594250e5f221340be4c322cda (patch) | |
tree | fac63785fafdde1393f2a8f0964933e4806a5318 /drivers/mtd | |
parent | 76d6a4791609e4d14b411a513c7648b19b258d8f (diff) | |
download | linux-stable-0ffd24fc7f82a0b594250e5f221340be4c322cda.tar.gz linux-stable-0ffd24fc7f82a0b594250e5f221340be4c322cda.tar.bz2 linux-stable-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')
-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); |