mtd/drivers/mtd/maps ocelot.c,1.15,1.16 uclinux.c,1.9,1.10
David Woodhouse
dwmw2 at infradead.org
Wed Jan 5 13:05:16 EST 2005
- Previous message: mtd/drivers/mtd/devices doc2000.c, 1.65, 1.66 doc2001.c, 1.47,
1.48 doc2001plus.c, 1.12, 1.13 ms02-nv.c, 1.7, 1.8 mtdram.c,
1.34, 1.35 phram.c, 1.10, 1.11 pmc551.c, 1.29, 1.30 slram.c,
1.32, 1.33
- Next message: mtd/drivers/mtd/nand diskonchip.c,1.44,1.45 s3c2410.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv1701/drivers/mtd/maps
Modified Files:
ocelot.c uclinux.c
Log Message:
patch] mtd: remove void * casts
Signed-off-by: Domen Puncer <domen at coderock.org>
Index: ocelot.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/ocelot.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ocelot.c 4 Nov 2004 13:24:15 -0000 1.15
+++ ocelot.c 5 Jan 2005 18:05:13 -0000 1.16
@@ -28,7 +28,7 @@
static void ocelot_ram_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
{
- struct map_info *map = (struct map_info *)mtd->priv;
+ struct map_info *map = mtd->priv;
size_t done = 0;
/* If we use memcpy, it does word-wide writes. Even though we told the
Index: uclinux.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/uclinux.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- uclinux.c 4 Nov 2004 13:24:15 -0000 1.9
+++ uclinux.c 5 Jan 2005 18:05:13 -0000 1.10
@@ -47,7 +47,7 @@
int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len,
size_t *retlen, u_char **mtdbuf)
{
- struct map_info *map = (struct map_info *) mtd->priv;
+ struct map_info *map = mtd->priv;
*mtdbuf = (u_char *) (map->virt + ((int) from));
*retlen = len;
return(0);
@@ -81,7 +81,7 @@
mtd = do_map_probe("map_ram", mapp);
if (!mtd) {
printk("uclinux[mtd]: failed to find a mapping?\n");
- iounmap((void *) mapp->virt);
+ iounmap(mapp->virt);
return(-ENXIO);
}
- Previous message: mtd/drivers/mtd/devices doc2000.c, 1.65, 1.66 doc2001.c, 1.47,
1.48 doc2001plus.c, 1.12, 1.13 ms02-nv.c, 1.7, 1.8 mtdram.c,
1.34, 1.35 phram.c, 1.10, 1.11 pmc551.c, 1.29, 1.30 slram.c,
1.32, 1.33
- Next message: mtd/drivers/mtd/nand diskonchip.c,1.44,1.45 s3c2410.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list