patch-2.0.16 linux/drivers/block/floppy.c
Next file: linux/drivers/isdn/icn/icn.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Aug 29 19:12:01 1996
- Orig file:
v2.0.15/linux/drivers/block/floppy.c
- Orig date:
Thu Aug 29 19:15:14 1996
diff -u --recursive --new-file v2.0.15/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -966,7 +966,7 @@
return 1;
}
- if (jiffies - delay < 0){
+ if ((signed) (jiffies - delay) < 0){
del_timer(&fd_timer);
fd_timer.function = function;
fd_timer.expires = delay;
@@ -1415,7 +1415,7 @@
* again just before spinup completion. Beware that
* after scandrives, we must again wait for selection.
*/
- if (ready_date - jiffies > DP->select_delay){
+ if ((signed) (ready_date - jiffies) > DP->select_delay){
ready_date -= DP->select_delay;
function = (timeout_fn) floppy_start;
} else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov