patch-2.4.21 linux-2.4.21/drivers/scsi/gdth_proc.c

Next file: linux-2.4.21/drivers/scsi/hosts.c
Previous file: linux-2.4.21/drivers/scsi/gdth.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/scsi/gdth_proc.c linux-2.4.21/drivers/scsi/gdth_proc.c
@@ -1464,7 +1464,7 @@
             timer_table[SCSI_TIMER].expires = jiffies + timeout;
             timer_active |= 1 << SCSI_TIMER;
         } else {
-            if (time_before(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)