Skip to content

Commit

Permalink
serial: Fix typo in sn_console.c
Browse files Browse the repository at this point in the history
Correct spelling "receieve" to "receive" in
drivers/tty/serial/sn_console.c

Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
standby24x7 authored and Jiri Kosina committed Feb 21, 2012
1 parent 67748df commit a7bfe17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/tty/serial/sn_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,12 +461,12 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)
struct tty_struct *tty;

if (!port) {
printk(KERN_ERR "sn_receive_chars - port NULL so can't receieve\n");
printk(KERN_ERR "sn_receive_chars - port NULL so can't receive\n");
return;
}

if (!port->sc_ops) {
printk(KERN_ERR "sn_receive_chars - port->sc_ops NULL so can't receieve\n");
printk(KERN_ERR "sn_receive_chars - port->sc_ops NULL so can't receive\n");
return;
}

Expand Down

0 comments on commit a7bfe17

Please sign in to comment.