serial: Fix typo in sn_console.c
Correct spelling "receieve" to "receive" in drivers/tty/serial/sn_console.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b7974deddc
commit
90af6d2082
@@ -461,12 +461,12 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)
|
|||||||
struct tty_struct *tty;
|
struct tty_struct *tty;
|
||||||
|
|
||||||
if (!port) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!port->sc_ops) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user