Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: bcm63xxpart: use correct printk format for partitions

Use ll to be able to remove the casts.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

authored by

Jonas Gorski and committed by
Artem Bityutskiy
60768368 f3f9a5da

+2 -3
+2 -3
drivers/mtd/bcm63xxpart.c
··· 198 198 parts[curpart].size = master->size - cfelen - nvramlen; 199 199 200 200 for (i = 0; i < nrparts; i++) 201 - pr_info("Partition %d is %s offset %lx and length %lx\n", i, 202 - parts[i].name, (long unsigned int)(parts[i].offset), 203 - (long unsigned int)(parts[i].size)); 201 + pr_info("Partition %d is %s offset %llx and length %llx\n", i, 202 + parts[i].name, parts[i].offset, parts[i].size); 204 203 205 204 pr_info("Spare partition is offset %x and length %x\n", spareaddr, 206 205 sparelen);