mtd/drivers/mtd mtd_blkdevs-24.c,1.11,1.12
David Woodhouse
dwmw2 at infradead.org
Tue Jul 8 04:16:52 EDT 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv30253
Modified Files:
mtd_blkdevs-24.c
Log Message:
Patch from Chris AtLee -- fix C99 declaration to make gcc 2.95 happy
again.
Index: mtd_blkdevs-24.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs-24.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mtd_blkdevs-24.c 23 Jun 2003 12:00:08 -0000 1.11
+++ mtd_blkdevs-24.c 8 Jul 2003 08:16:49 -0000 1.12
@@ -380,9 +380,10 @@
if (tr->getgeo) {
struct hd_geometry g;
struct gendisk *gd = &(tr->blkcore_priv->gd);
+ int ret;
memset(&g, 0, sizeof(g));
- int ret = tr->getgeo(dev, &g);
+ ret = tr->getgeo(dev, &g);
if (ret)
return ret;
More information about the linux-mtd-cvs
mailing list