Skip to content

Commit

Permalink
[MTD] Fix printk format warning in physmap. (resources again)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
rddunlap authored and dwmw2 committed Nov 28, 2006
1 parent 1aaaeab commit 998a43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/physmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static int physmap_flash_probe(struct platform_device *dev)
return -ENODEV;

printk(KERN_NOTICE "physmap platform flash device: %.8llx at %.8llx\n",
(unsigned long long)dev->resource->end - dev->resource->start + 1,
(unsigned long long)(dev->resource->end - dev->resource->start + 1),
(unsigned long long)dev->resource->start);

info = kmalloc(sizeof(struct physmap_flash_info), GFP_KERNEL);
Expand Down

0 comments on commit 998a43e

Please sign in to comment.