Commit f05feef0 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck

[WATCHDOG] 2.6.0-rc1 spelling-fixes-whether.patch

Spelling fixes - whether
parent 6cb263df
...@@ -100,7 +100,7 @@ static ssize_t acq_write(struct file *file, const char *buf, size_t count, loff_ ...@@ -100,7 +100,7 @@ static ssize_t acq_write(struct file *file, const char *buf, size_t count, loff_
* five months ago... */ * five months ago... */
expect_close = 0; 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++) { for (i = 0; i != count; i++) {
char c; char c;
if (get_user(c, buf + i)) if (get_user(c, buf + i))
......
...@@ -153,7 +153,7 @@ static ssize_t ali_write(struct file *file, const char *data, ...@@ -153,7 +153,7 @@ static ssize_t ali_write(struct file *file, const char *data,
* five months ago... */ * five months ago... */
ali_expect_release = 0; 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++) { for (i = 0; i != len; i++) {
char c; char c;
if(get_user(c, data+i)) if(get_user(c, data+i))
...@@ -402,7 +402,7 @@ static int __init watchdog_init(void) ...@@ -402,7 +402,7 @@ static int __init watchdog_init(void)
spin_lock_init(&ali_lock); 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) { if (ali_find_watchdog() != 0) {
return -ENODEV; return -ENODEV;
} }
......
...@@ -183,7 +183,7 @@ static ssize_t fop_write(struct file * file, const char * buf, size_t count, lof ...@@ -183,7 +183,7 @@ static ssize_t fop_write(struct file * file, const char * buf, size_t count, lof
* five months ago... */ * five months ago... */
wdt_expect_close = 0; 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++) for(ofs = 0; ofs != count; ofs++)
{ {
char c; char c;
......
...@@ -205,7 +205,7 @@ static ssize_t fop_write(struct file * file, const char * buf, size_t count, lof ...@@ -205,7 +205,7 @@ static ssize_t fop_write(struct file * file, const char * buf, size_t count, lof
* five months ago... */ * five months ago... */
wdt_expect_close = 0; 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++) for(ofs = 0; ofs != count; ofs++)
{ {
char c; char c;
......
...@@ -109,7 +109,7 @@ static ssize_t wafwdt_write(struct file *file, const char *buf, size_t count, lo ...@@ -109,7 +109,7 @@ static ssize_t wafwdt_write(struct file *file, const char *buf, size_t count, lo
/* In case it was set long ago */ /* In case it was set long ago */
expect_close = 0; 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++) { for (i = 0; i != count; i++) {
char c; char c;
if (get_user(c, buf + i)) if (get_user(c, buf + i))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment