Commit e7885c59 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] more typo/invalid bits

(Steven Cole)
parent eda30c2b
...@@ -669,7 +669,7 @@ static void receive_char(struct r3964_info *pInfo, const unsigned char c) ...@@ -669,7 +669,7 @@ static void receive_char(struct r3964_info *pInfo, const unsigned char c)
} }
else else
{ {
TRACE_PE("TRANSMITTING - got illegal char"); TRACE_PE("TRANSMITTING - got invalid char");
pInfo->state = R3964_WAIT_ZVZ_BEFORE_TX_RETRY; pInfo->state = R3964_WAIT_ZVZ_BEFORE_TX_RETRY;
mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ);
......
...@@ -2814,7 +2814,7 @@ static int mgslpc_open(struct tty_struct *tty, struct file * filp) ...@@ -2814,7 +2814,7 @@ static int mgslpc_open(struct tty_struct *tty, struct file * filp)
/* verify range of specified line number */ /* verify range of specified line number */
line = tty->index; line = tty->index;
if ((line < 0) || (line >= mgslpc_device_count)) { if ((line < 0) || (line >= mgslpc_device_count)) {
printk("%s(%d):mgslpc_open with illegal line #%d.\n", printk("%s(%d):mgslpc_open with invalid line #%d.\n",
__FILE__,__LINE__,line); __FILE__,__LINE__,line);
return -ENODEV; return -ENODEV;
} }
......
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