mtd/drivers/mtd/maps dilnetpc.c,1.14,1.15

David Woodhouse dwmw2 at infradead.org
Thu Oct 21 04:31:36 EDT 2004


Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv1633

Modified Files:
	dilnetpc.c 
Log Message:

Use %p to print a pointer, so that its length doesn't matter
and so that gcc won't complain.

drivers/mtd/maps/dilnetpc.c:416: warning: long unsigned int format, 
pointer arg (arg 2)

Signed-off-by: Randy Dunlap <rddunlap at osdl.org>


Index: dilnetpc.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/dilnetpc.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- dilnetpc.c	16 Sep 2004 23:27:13 -0000	1.14
+++ dilnetpc.c	21 Oct 2004 08:31:32 -0000	1.15
@@ -413,7 +413,7 @@
 	}
 	simple_map_init(&dnpc_map);
 
-	printk("FLASH virtual address: 0x%lx\n", dnpc_map.virt);
+	printk("FLASH virtual address: 0x%p\n", dnpc_map.virt);
 
 	mymtd = do_map_probe("jedec_probe", &dnpc_map);
 





More information about the linux-mtd-cvs mailing list