Re: 2.1.125 Show stopper list: Draft

Vojtech Pavlik (vojtech-lists@twilight.ucw.cz)
Wed, 14 Oct 1998 10:48:35 +0200


On Tue, Oct 13, 1998 at 06:31:55PM +0200, Andrea Arcangeli wrote:

> Index: linux/drivers/char/joystick.c
> diff -u linux/drivers/char/joystick.c:1.1.1.1 linux/drivers/char/joystick.c:1.1.1.1.12.1
> --- linux/drivers/char/joystick.c:1.1.1.1 Fri Oct 2 19:23:15 1998
> +++ linux/drivers/char/joystick.c Tue Oct 13 17:28:28 1998
> @@ -222,7 +222,7 @@
> }
> }
> else
> - if ((jiffies > js_bh_time + JS_BH_MAX_PERIOD) && !js_mark_time) {
> + if (time_after(jiffies, js_bh_time + JS_BH_MAX_PERIOD) && !js_mark_time) {
> js_mark_time = jiffies;
> mark_bh(JS_BH);
> }
> @@ -285,7 +285,7 @@
> int i, j, k;
> unsigned int t;
>
> - if (jiffies > js_bh_time + JS_BH_MIN_PERIOD) {
> + if (time_after(jiffies, js_bh_time + JS_BH_MIN_PERIOD)) {
>
> unsigned int old_axis[4];
> unsigned int t_low, t_high;

There isn't anything like that in the 2.1.125 joystick driver. There isn't
even a linux/drivers/char/joystick.c. Are you sure this patch is against 2.1.125?

Vojtech

-
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/