Re: cciss update for 2.6
From: Andrew Morton
Date: Thu Mar 25 2004 - 22:47:28 EST
> Please consider this patch for inclusion in the 2.6 kernel.
I think this was a 2.4 patch?
> If no device is attached we now return -ENXIO instead of some bogus numbers.
> Prevents applications from trying to access non-existent disks.
> Also adds HDIO_GETGEO_BIG IOCTL that fdisk uses.
drivers/block/cciss.c: In function `cciss_ioctl':
drivers/block/cciss.c:480: `HDIO_GETGEO_BIG' undeclared (first use in this function)
drivers/block/cciss.c:480: (Each undeclared identifier is reported only once
drivers/block/cciss.c:480: for each function it appears in.)
drivers/block/cciss.c:482: storage size of `driver_geo' isn't known
drivers/block/cciss.c:483: `dsk' undeclared (first use in this function)
drivers/block/cciss.c:490: structure has no member named `hd'
drivers/block/cciss.c:492: sizeof applied to an incomplete type
drivers/block/cciss.c:482: warning: unused variable `driver_geo'
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/