Skip to content

Commit 998a43e

Browse files
rddunlapdwmw2
authored andcommitted
[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>
1 parent 1aaaeab commit 998a43e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/maps/physmap.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static int physmap_flash_probe(struct platform_device *dev)
8989
return -ENODEV;
9090

9191
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),
9393
(unsigned long long)dev->resource->start);
9494

9595
info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL);

0 commit comments

Comments
 (0)