tty: Fix typo in tty drivers
PATCH 1/1 tty: Fix typo in tty drivers
Correct spelling typo in debug messages within tty drivers.
Signed-off-by Masanari Iida <[email protected]>
--- drivers/tty/hvc/hvc_opal.c | 2 +- drivers/tty/hvc/hvc_vio.c | 2 +- drivers/tty/serial/8250/Kconfig | 2 +- drivers/tty/serial/bfin_uart.c | 2 +- drivers/tty/serial/icom.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/tty/hvc/hvc_opal.c +1 -1
@@ -178,7 +178,7 @@ static int __devinit hvc_opal_probe(struct platform_device *dev) proto =HV_PROTOCOL_HVSI ; ops = &hvc_opal_hvsi_ops; }else { -pr_err ("hvc_opal: Unkown protocol for %s\n" , +pr_err ("hvc_opal: Unknown protocol for %s\n" , dev->dev.of_node->full_name);return -ENXIO ; }
drivers/tty/hvc/hvc_vio.c +1 -1
@@ -250,7 +250,7 @@ static int __devinit hvc_vio_probe(struct vio_dev *vdev, proto =HV_PROTOCOL_HVSI ; ops = &hvterm_hvsi_ops; }else { -pr_err ("hvc_vio: Unkown protocol for %s\n" , vdev->dev.of_node->full_name); +pr_err ("hvc_vio: Unknown protocol for %s\n" , vdev->dev.of_node->full_name);return -ENXIO ; }
drivers/tty/serial/8250/Kconfig +1 -1
@@ -271,7 +271,7 @@ config SERIAL_8250_DW present in the Synopsys DesignWare APB UART. config SERIAL_8250_EM - tristate "Support for Emma Mobile intergrated serial port" + tristate "Support for Emma Mobile integrated serial port" depends on SERIAL_8250 && ARM && HAVE_CLK help Selecting this option will add support for the integrated serial
drivers/tty/serial/bfin_uart.c +1 -1
@@ -815,7 +815,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, lcr =WLS (5 );break ;default : -printk (KERN_ERR "%s: word lengh not supported\n" , +printk (KERN_ERR "%s: word length not supported\n" , __func__); }
drivers/tty/serial/icom.c +1 -1
@@ -505,7 +505,7 @@ static void load_code(struct icom_port *icom_port)/* Stop processor */ stop_processor (icom_port); -dev_err (&icom_port->adapter->pci_dev->dev,"Port not opertional\n" ); +dev_err (&icom_port->adapter->pci_dev->dev,"Port not operational\n" ); }if (new_page !=NULL )
Signature · 1 line
1.8.0.rc3.16.g8ead1bf
drivers/tty/serial/bfin_uart.c bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, · line 819
Quoted 8 lines
+++
b/drivers/tty/serial/bfin_uart.cdrivers/tty/serial/bfin_uart.c +1
-1@@ -815,7 +815,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, lcr =WLS (5 );break ;default : -printk (KERN_ERR "%s: word lengh not supported\n" , +printk (KERN_ERR "%s: word length not supported\n" , __func__);
Looks fine me although the bfin_uart one should just be picking a suitable bit length and reporting back the one it uses not printing errors 8)
Acked-by Alan Cox <[email protected]>
Quoted 13 lines · Alan Cox
drivers/tty/serial/bfin_uart.c bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, · line 819
Quoted 8 lines
+++
b/drivers/tty/serial/bfin_uart.cdrivers/tty/serial/bfin_uart.c +1
-1@@ -815,7 +815,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, lcr =WLS (5 );break ;default : -printk (KERN_ERR "%s: word lengh not supported\n" , +printk (KERN_ERR "%s: word length not supported\n" , __func__);Looks fine me although the
bfin_uartone should just be picking a suitable bit length and reporting back the one it uses not printing errors 8)
Quoted 1 line
Acked-by Alan Cox <[email protected]>
I have picked this one, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs