public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] MTD: fix printk format warning
@ 2006-10-24  4:48 Randy Dunlap
  2006-10-24  9:24 ` Artem Bityutskiy
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2006-10-24  4:48 UTC (permalink / raw)
  To: linux-mtd; +Cc: akpm, dwmw2

From: Randy Dunlap <randy.dunlap@oracle.com>

(may be a gcc phenomenon)
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>
---

 drivers/mtd/maps/physmap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2619-rc3-pv.orig/drivers/mtd/maps/physmap.c
+++ linux-2619-rc3-pv/drivers/mtd/maps/physmap.c
@@ -89,7 +89,7 @@ static int physmap_flash_probe(struct pl
 		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);


---

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-24 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24  4:48 [PATCH] MTD: fix printk format warning Randy Dunlap
2006-10-24  9:24 ` Artem Bityutskiy
2006-10-24 10:02   ` Ben Dooks
2006-10-24 15:29     ` Randy.Dunlap
2006-10-24 16:57       ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox