C does not let us declar variables in the middle of a block (yet).
--- 2.5.74/drivers/mtd/mtd_blkdevs.c 2003-07-03 01:32:27.000000000 -0700
case HDIO_GETGEO:
if (tr->getgeo) {
struct hd_geometry g;
+ int ret;
memset(&g, 0, sizeof(g));
- int ret = tr->getgeo(dev, &g);
+ ret = tr->getgeo(dev, &g);
if (ret)
return ret;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/