]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] 10: 2.5.29-wdt977
authorRussell King <rmk@arm.linux.org.uk>
Sat, 3 Aug 2002 11:28:07 +0000 (04:28 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 3 Aug 2002 11:28:07 +0000 (04:28 -0700)
Bitops are used with on the timer_alive variable.  Therefore, timer_alive
needs to be "unsigned long" not "int".

drivers/char/wdt977.c

index e0ea7d6a4055a5e4f153b1bff342d7c1c486c332..3f483ecce802fb71fd3d6c9ec91dbcda085b29ae 100644 (file)
@@ -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");