linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ttyport: trivial fix for some typo in comments
@ 2017-09-07 20:51 Antonio Borneo
  2017-09-08  5:22 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Borneo @ 2017-09-07 20:51 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: Antonio Borneo, Jiri Kosina, linux-kernel

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
---
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Jiri Slaby <jslaby@suse.com>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: linux-kernel@vger.kernel.org
---
 drivers/tty/tty_port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c
index 6b13719..1286f24 100644
--- a/drivers/tty/tty_port.c
+++ b/drivers/tty/tty_port.c
@@ -78,7 +78,7 @@ void tty_port_init(struct tty_port *port)
  * @driver: tty_driver for this device
  * @index: index of the tty
  *
- * Provide the tty layer wit ha link from a tty (specified by @index) to a
+ * Provide the tty layer with a link from a tty (specified by @index) to a
  * tty_port (@port). Use this only if neither tty_port_register_device nor
  * tty_port_install is used in the driver. If used, this has to be called before
  * tty_register_driver.
@@ -235,7 +235,7 @@ void tty_port_free_xmit_buf(struct tty_port *port)
 
 /**
  * tty_port_destroy -- destroy inited port
- * @port: tty port to be doestroyed
+ * @port: tty port to be destroyed
  *
  * When a port was initialized using tty_port_init, one has to destroy the
  * port by this function. Either indirectly by using tty_port refcounting
-- 
1.9.1

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

* Re: [PATCH] ttyport: trivial fix for some typo in comments
  2017-09-07 20:51 [PATCH] ttyport: trivial fix for some typo in comments Antonio Borneo
@ 2017-09-08  5:22 ` Greg Kroah-Hartman
  2017-09-08  6:59   ` [PATCH V2] " Antonio Borneo
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2017-09-08  5:22 UTC (permalink / raw)
  To: Antonio Borneo; +Cc: Jiri Slaby, Jiri Kosina, linux-kernel

On Thu, Sep 07, 2017 at 10:51:08PM +0200, Antonio Borneo wrote:
> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
> ---
> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> To: Jiri Slaby <jslaby@suse.com>
> Cc: Jiri Kosina <trivial@kernel.org>
> Cc: linux-kernel@vger.kernel.org
> ---
>  drivers/tty/tty_port.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

I can't take patches without any changelog text, sorry.

greg k-h

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

* [PATCH V2] ttyport: trivial fix for some typo in comments
  2017-09-08  5:22 ` Greg Kroah-Hartman
@ 2017-09-08  6:59   ` Antonio Borneo
  0 siblings, 0 replies; 3+ messages in thread
From: Antonio Borneo @ 2017-09-08  6:59 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: Antonio Borneo, Jiri Kosina, linux-kernel

Fix some minor typo spotted in comments:
- s/wit ha/with a/
- s/doestroyed/destroyed/

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
---
Changes:
V1 -> V2
add commit message

To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Jiri Slaby <jslaby@suse.com>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: linux-kernel@vger.kernel.org
---
 drivers/tty/tty_port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c
index 6b13719..1286f24 100644
--- a/drivers/tty/tty_port.c
+++ b/drivers/tty/tty_port.c
@@ -78,7 +78,7 @@ void tty_port_init(struct tty_port *port)
  * @driver: tty_driver for this device
  * @index: index of the tty
  *
- * Provide the tty layer wit ha link from a tty (specified by @index) to a
+ * Provide the tty layer with a link from a tty (specified by @index) to a
  * tty_port (@port). Use this only if neither tty_port_register_device nor
  * tty_port_install is used in the driver. If used, this has to be called before
  * tty_register_driver.
@@ -235,7 +235,7 @@ void tty_port_free_xmit_buf(struct tty_port *port)
 
 /**
  * tty_port_destroy -- destroy inited port
- * @port: tty port to be doestroyed
+ * @port: tty port to be destroyed
  *
  * When a port was initialized using tty_port_init, one has to destroy the
  * port by this function. Either indirectly by using tty_port refcounting
-- 
1.9.1

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

end of thread, other threads:[~2017-09-08  7:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-07 20:51 [PATCH] ttyport: trivial fix for some typo in comments Antonio Borneo
2017-09-08  5:22 ` Greg Kroah-Hartman
2017-09-08  6:59   ` [PATCH V2] " Antonio Borneo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).