I don't see any reason why these variables should be `long'.
Ivan.
--- linux/drivers/block/ide-disk.c.orig Thu Mar 11 04:49:43 1999
+++ linux/drivers/block/ide-disk.c Mon May 17 16:30:45 1999
@@ -88,9 +88,9 @@
*/
static int lba_capacity_is_ok (struct hd_driveid *id)
{
- unsigned long lba_sects = id->lba_capacity;
- unsigned long chs_sects = id->cyls * id->heads * id->sectors;
- unsigned long _10_percent = chs_sects / 10;
+ u32 lba_sects = id->lba_capacity;
+ u32 chs_sects = id->cyls * id->heads * id->sectors;
+ u32 _10_percent = chs_sects / 10;
/*
* very large drives (8GB+) may lie about the number of cylinders
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/