fix printing of mtd offsets, remove whitespaces.

SVN-Revision: 19475
lede-17.01
Florian Fainelli 2010-01-31 21:37:25 +00:00
parent 04e89fe9c5
commit e716256d86
1 changed files with 8 additions and 8 deletions

View File

@ -268,7 +268,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 %llx and length %llx\n", i, parts[i].name, parts[i].offset, parts[i].size);
printk(KERN_INFO PFX "Partition %d is %s offset %lx and length %lx\n", i, parts[i].name, parts[i].offset, parts[i].size);
printk(KERN_INFO PFX "Spare partition is %x offset and length %x\n", spareaddr, sparelen);
*pparts = parts;
@ -334,7 +334,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%llx ; ONLY 64MBIT SUPPORT\n", bcm963xx_mtd_info->size);
printk(KERN_INFO PFX "Support for extended flash memory size : 0x%lx ; ONLY 64MBIT SUPPORT\n", bcm963xx_mtd_info->size);
bcm963xx_map.virt = (u32)(EXTENDED_SIZE);
}