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

[MTD] Fix printk format warning in physmap. (resources again)

Fix printk format warning:
drivers/mtd/maps/physmap.c:93: warning: long long unsigned int format, long unsigned int arg (arg 2)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

authored by

Randy Dunlap and committed by
David Woodhouse
998a43e7 1aaaeabf

+1 -1
+1 -1
drivers/mtd/maps/physmap.c
··· 89 89 return -ENODEV; 90 90 91 91 printk(KERN_NOTICE "physmap platform flash device: %.8llx at %.8llx\n", 92 - (unsigned long long)dev->resource->end - dev->resource->start + 1, 92 + (unsigned long long)(dev->resource->end - dev->resource->start + 1), 93 93 (unsigned long long)dev->resource->start); 94 94 95 95 info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL);