Bitops are used with on the timer_alive variable. Therefore, timer_alive
needs to be "unsigned long" not "int".
drivers/char/wdt977.c | 2 +-
1 files changed, 1 insertion, 1 deletion
diff -urN orig/drivers/char/wdt977.c linux/drivers/char/wdt977.c
--- orig/drivers/char/wdt977.c Sat May 25 23:13:25 2002
+++ linux/drivers/char/wdt977.c Wed Jun 12 14:13:47 2002
@@ -39,7 +39,7 @@
static int timeout = DEFAULT_TIMEOUT*60; /* TO in seconds from user */
static int timeoutM = DEFAULT_TIMEOUT; /* timeout in minutes */
-static int timer_alive;
+static unsigned long timer_alive;
static int testmode;
MODULE_PARM(timeout, "i");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/