mtd/drivers/mtd/maps nettel.c,1.11,1.12

gleixner at infradead.org gleixner at infradead.org
Tue Nov 29 09:30:03 EST 2005


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

Modified Files:
	nettel.c 
Log Message:
[MTD] maps: sparse fixup

The patch below fixes the following sparse warning:

drivers/mtd/maps/nettel.c:482:27: warning: Using plain integer as NULL pointer

Signed-off-by: Luiz Capitulino <lcapitulino at mandriva.com.br>



Index: nettel.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/nettel.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- nettel.c	7 Nov 2005 11:14:27 -0000	1.11
+++ nettel.c	29 Nov 2005 14:30:00 -0000	1.12
@@ -479,7 +479,7 @@
 	}
 	if (nettel_intel_map.virt) {
 		iounmap(nettel_intel_map.virt);
-		nettel_intel_map.virt = 0;
+		nettel_intel_map.virt = NULL;
 	}
 #endif
 }





More information about the linux-mtd-cvs mailing list