mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [trivial] tty: Fix typo in tty drivers
@ 2012-10-24 14:29 Masanari Iida
  2012-10-24 15:59 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Masanari Iida @ 2012-10-24 14:29 UTC (permalink / raw)
  To: trivial, linux-kernel, gregkh; +Cc: Masanari Iida

Correct spelling typo in debug messages within tty drivers.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 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(-)

diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c
index 0d2ea0c..a4f488f 100644
--- a/drivers/tty/hvc/hvc_opal.c
+++ b/drivers/tty/hvc/hvc_opal.c
@@ -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;
 	}
diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c
index ee30779..56e9725 100644
--- a/drivers/tty/hvc/hvc_vio.c
+++ b/drivers/tty/hvc/hvc_vio.c
@@ -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;
 	}
 
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index a27dd05..9395800 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -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
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c
index 9242d56..9b11c3f 100644
--- a/drivers/tty/serial/bfin_uart.c
+++ b/drivers/tty/serial/bfin_uart.c
@@ -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__);
 	}
 
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c
index defc4e3..6131516 100644
--- a/drivers/tty/serial/icom.c
+++ b/drivers/tty/serial/icom.c
@@ -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)
-- 
1.8.0.rc3.16.g8ead1bf


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] [trivial] tty: Fix typo in tty drivers
  2012-10-24 14:29 [PATCH] [trivial] tty: Fix typo in tty drivers Masanari Iida
@ 2012-10-24 15:59 ` Alan Cox
  2012-10-25 16:05   ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2012-10-24 15:59 UTC (permalink / raw)
  To: Masanari Iida; +Cc: trivial, linux-kernel, gregkh

> +++ b/drivers/tty/serial/bfin_uart.c
> @@ -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 <alan@linux.intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] [trivial] tty: Fix typo in tty drivers
  2012-10-24 15:59 ` Alan Cox
@ 2012-10-25 16:05   ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2012-10-25 16:05 UTC (permalink / raw)
  To: Alan Cox; +Cc: Masanari Iida, linux-kernel, gregkh

On Wed, 24 Oct 2012, Alan Cox wrote:

> > +++ b/drivers/tty/serial/bfin_uart.c
> > @@ -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 <alan@linux.intel.com>

I have picked this one, thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-25 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-24 14:29 [PATCH] [trivial] tty: Fix typo in tty drivers Masanari Iida
2012-10-24 15:59 ` Alan Cox
2012-10-25 16:05   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome