[PATCH] 10: 2.5.29-wdt977

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Aug 03 2002 - 13:16:18 EST


This patch has been verified to apply cleanly to 2.5.30

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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:22 EST