aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/drivers/mtd
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-02 13:50:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-02 13:50:39 +0000
commitc4ef19ed00a3cc56ce7d0eca9f179f5f0b3386a1 (patch)
tree19e0878268c20b9c45dcc21775e6b81460d10d0e /target/linux/brcm63xx/files/drivers/mtd
parent074681b8d6973a1f2b25c507c85757a9443b0367 (diff)
downloadupstream-c4ef19ed00a3cc56ce7d0eca9f179f5f0b3386a1.tar.gz
upstream-c4ef19ed00a3cc56ce7d0eca9f179f5f0b3386a1.tar.bz2
upstream-c4ef19ed00a3cc56ce7d0eca9f179f5f0b3386a1.zip
[brcm63xx] fix printing of offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17099 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/drivers/mtd')
-rw-r--r--target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c b/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c
index 371fad2fd1..53775c9e3d 100644
--- a/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c
+++ b/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c
@@ -261,7 +261,7 @@ static int parse_cfe_partitions( struct mtd_info *master, struct mtd_partition *
parts[curpart].size = master->size - parts[0].size - parts[3].size;
for (i = 0; i < nrparts; i++)
- printk(KERN_INFO PFX "Partition %d is %s offset %x and length %x\n", i, parts[i].name, parts[i].offset, parts[i].size);
+ printk(KERN_INFO PFX "Partition %d is %s offset %llx and length %llx\n", i, parts[i].name, parts[i].offset, parts[i].size);
*pparts = parts;
vfree(buf);
@@ -326,7 +326,7 @@ static int bcm963xx_probe(struct platform_device *pdev)
} else {
printk(KERN_INFO PFX "assuming RedBoot bootloader\n");
if (bcm963xx_mtd_info->size > 0x00400000) {
- printk(KERN_INFO PFX "Support for extended flash memory size : 0x%08X ; ONLY 64MBIT SUPPORT\n", bcm963xx_mtd_info->size);
+ printk(KERN_INFO PFX "Support for extended flash memory size : 0x%llx ; ONLY 64MBIT SUPPORT\n", bcm963xx_mtd_info->size);
bcm963xx_map.virt = (u32)(EXTENDED_SIZE);
}