patch-2.4.19 linux-2.4.19/drivers/scsi/gdth_proc.c
Next file: linux-2.4.19/drivers/scsi/gvp11.c
Previous file: linux-2.4.19/drivers/scsi/fastlane.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/scsi/gdth_proc.c
- Orig date:
Fri Sep 7 09:28:37 2001
diff -urN linux-2.4.18/drivers/scsi/gdth_proc.c linux-2.4.19/drivers/scsi/gdth_proc.c
@@ -1464,7 +1464,7 @@
timer_table[SCSI_TIMER].expires = jiffies + timeout;
timer_active |= 1 << SCSI_TIMER;
} else {
- if (jiffies + timeout < timer_table[SCSI_TIMER].expires)
+ if (time_before(jiffies + timeout, timer_table[SCSI_TIMER].expires))
timer_table[SCSI_TIMER].expires = jiffies + timeout;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)