[PATCH] 2.6.0-rc1 - Watchdog patches (part 2)

From: Wim Van Sebroeck
Date: Mon Jan 05 2004 - 17:42:19 EST


Hi Linus, Andrew,

please do a

bk pull http://linux-watchdog.bkbits.net/linux-2.6-watchdog

This will update the following files:

drivers/char/watchdog/acquirewdt.c | 2 +-
drivers/char/watchdog/alim1535_wdt.c | 4 ++--
drivers/char/watchdog/amd7xx_tco.c | 2 +-
drivers/char/watchdog/sbc60xxwdt.c | 2 +-
drivers/char/watchdog/w83877f_wdt.c | 2 +-
drivers/char/watchdog/wafer5823wdt.c | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)

through these ChangeSets:

<wim@xxxxxxxxx> (04/01/03 1.1577)
[WATCHDOG] 2.6.0-rc1 spelling-fixes-whether.patch

Spelling fixes - whether

<akpm@xxxxxxxx> (04/01/05 1.1578)
[WATCHDOG] 2.6.0-rc1 amd7xx_tco.c-nowayout.patch

Fix compile error in amd7xx_tco.c after latest nowayout change


The ChangeSets can also be looked at on:
http://linux-watchdog.bkbits.net:8080/linux-2.6-watchdog

For completeness, I added the patches below.

Greetings,
Wim.

================================================================================
diff -Nru a/drivers/char/watchdog/acquirewdt.c b/drivers/char/watchdog/acquirewdt.c
--- a/drivers/char/watchdog/acquirewdt.c Mon Jan 5 23:25:17 2004
+++ b/drivers/char/watchdog/acquirewdt.c Mon Jan 5 23:25:17 2004
@@ -100,7 +100,7 @@
* five months ago... */
expect_close = 0;

- /* scan to see wether or not we got the magic character */
+ /* scan to see whether or not we got the magic character */
for (i = 0; i != count; i++) {
char c;
if (get_user(c, buf + i))
diff -Nru a/drivers/char/watchdog/alim1535_wdt.c b/drivers/char/watchdog/alim1535_wdt.c
--- a/drivers/char/watchdog/alim1535_wdt.c Mon Jan 5 23:25:17 2004
+++ b/drivers/char/watchdog/alim1535_wdt.c Mon Jan 5 23:25:17 2004
@@ -153,7 +153,7 @@
* five months ago... */
ali_expect_release = 0;

- /* scan to see wether or not we got the magic character */
+ /* scan to see whether or not we got the magic character */
for (i = 0; i != len; i++) {
char c;
if(get_user(c, data+i))
@@ -402,7 +402,7 @@

spin_lock_init(&ali_lock);

- /* Check wether or not the hardware watchdog is there */
+ /* Check whether or not the hardware watchdog is there */
if (ali_find_watchdog() != 0) {
return -ENODEV;
}
diff -Nru a/drivers/char/watchdog/sbc60xxwdt.c b/drivers/char/watchdog/sbc60xxwdt.c
--- a/drivers/char/watchdog/sbc60xxwdt.c Mon Jan 5 23:25:17 2004
+++ b/drivers/char/watchdog/sbc60xxwdt.c Mon Jan 5 23:25:17 2004
@@ -183,7 +183,7 @@
* five months ago... */
wdt_expect_close = 0;

- /* scan to see wether or not we got the magic character */
+ /* scan to see whether or not we got the magic character */
for(ofs = 0; ofs != count; ofs++)
{
char c;
diff -Nru a/drivers/char/watchdog/w83877f_wdt.c b/drivers/char/watchdog/w83877f_wdt.c
--- a/drivers/char/watchdog/w83877f_wdt.c Mon Jan 5 23:25:17 2004
+++ b/drivers/char/watchdog/w83877f_wdt.c Mon Jan 5 23:25:17 2004
@@ -205,7 +205,7 @@
* five months ago... */
wdt_expect_close = 0;

- /* scan to see wether or not we got the magic character */
+ /* scan to see whether or not we got the magic character */
for(ofs = 0; ofs != count; ofs++)
{
char c;
diff -Nru a/drivers/char/watchdog/wafer5823wdt.c b/drivers/char/watchdog/wafer5823wdt.c
--- a/drivers/char/watchdog/wafer5823wdt.c Mon Jan 5 23:25:17 2004
+++ b/drivers/char/watchdog/wafer5823wdt.c Mon Jan 5 23:25:17 2004
@@ -109,7 +109,7 @@
/* In case it was set long ago */
expect_close = 0;

- /* scan to see wether or not we got the magic character */
+ /* scan to see whether or not we got the magic character */
for (i = 0; i != count; i++) {
char c;
if (get_user(c, buf + i))
diff -Nru a/drivers/char/watchdog/amd7xx_tco.c b/drivers/char/watchdog/amd7xx_tco.c
--- a/drivers/char/watchdog/amd7xx_tco.c Mon Jan 5 23:25:38 2004
+++ b/drivers/char/watchdog/amd7xx_tco.c Mon Jan 5 23:25:38 2004
@@ -253,7 +253,7 @@
return -ESPIPE;

if (len) {
- if (!nowayout)
+ if (!nowayout) {
size_t i;
char c;
expect_close = 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/