patch-2.2.0-pre2 linux/drivers/scsi/eata_pio.c
Next file: linux/drivers/scsi/eata_pio_proc.c
Previous file: linux/drivers/scsi/eata_dma_proc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Dec 29 11:35:48 1998
- Orig file:
v2.2.0-pre1/linux/drivers/scsi/eata_pio.c
- Orig date:
Wed May 20 19:10:39 1998
diff -u --recursive --new-file v2.2.0-pre1/linux/drivers/scsi/eata_pio.c linux/drivers/scsi/eata_pio.c
@@ -500,7 +500,7 @@
HD(cmd)->state = RESET;
time = jiffies;
- while (jiffies < (time + (3 * HZ)) && limit++ < 10000000);
+ while (time_before(jiffies, time + 3 * HZ) && limit++ < 10000000);
DBG(DBG_ABNORM, printk(KERN_WARNING "eata_pio_reset: interrupts disabled, "
"loops %d.\n", limit));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov