mtd/drivers/mtd/maps sbc_gxx.c,1.26,1.27

David Woodhouse dwmw2 at infradead.org
Mon Jul 12 10:39:11 EDT 2004


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

Modified Files:
	sbc_gxx.c 
Log Message:
Merge from 2.6: lvalue casts


Index: sbc_gxx.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/sbc_gxx.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sbc_gxx.c	26 May 2003 08:50:36 -0000	1.26
+++ sbc_gxx.c	12 Jul 2004 14:39:08 -0000	1.27
@@ -155,7 +155,7 @@
 		sbc_gxx_page(map, from);
 		memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen);
 		spin_unlock(&sbc_gxx_spin);
-		(__u8*)to += thislen;
+		to += thislen;
 		from += thislen;
 		len -= thislen;
 	}





More information about the linux-mtd-cvs mailing list