Skip to contentSkip to conversation

tty: Fix typo in tty drivers

PATCH In review Masanari Iida 3 participants 3 messages Oct 24, 2012 – Oct 25, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: Fix typo in tty drivers

Correct spelling typo in debug messages within tty drivers.

---
 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
index 0d2ea0c..a4f488f 100644
@@ -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
index ee30779..56e9725 100644
@@ -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
index a27dd05..9395800 100644
@@ -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
index 9242d56..9b11c3f 100644
@@ -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
index defc4e3..6131516 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw

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.c

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__);

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)

#2 lore raw
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.c

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__);

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)

Quoted 1 line

I have picked this one, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs