linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections
@ 2016-11-12 23:53 Walt Feasel
  2016-11-13  0:13 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Walt Feasel @ 2016-11-12 23:53 UTC (permalink / raw)
  To: markh
  Cc: lidza.louina, gregkh, driverdev-devel, devel, linux-kernel, Walt Feasel

Made various spelling corrections in the comments

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---
 drivers/staging/dgnc/dgnc_tty.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 52be33f..4240609 100644
--- a/drivers/staging/dgnc/dgnc_tty.c
+++ b/drivers/staging/dgnc/dgnc_tty.c
@@ -2105,7 +2105,7 @@ static int dgnc_tty_digiseta(struct tty_struct *tty,
 	spin_lock_irqsave(&ch->ch_lock, flags);
 
 	/*
-	 * Handle transistions to and from RTS Toggle.
+	 * Handle transitions to and from RTS Toggle.
 	 */
 	if (!(ch->ch_digi.digi_flags & DIGI_RTS_TOGGLE) &&
 	    (new_digi.digi_flags & DIGI_RTS_TOGGLE))
@@ -2115,7 +2115,7 @@ static int dgnc_tty_digiseta(struct tty_struct *tty,
 		ch->ch_mostat |= (UART_MCR_RTS);
 
 	/*
-	 * Handle transistions to and from DTR Toggle.
+	 * Handle transitions to and from DTR Toggle.
 	 */
 	if (!(ch->ch_digi.digi_flags & DIGI_DTR_TOGGLE) &&
 	    (new_digi.digi_flags & DIGI_DTR_TOGGLE))
@@ -2439,7 +2439,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
 	case TCSBRK:
 		/*
 		 * TCSBRK is SVID version: non-zero arg --> no break
-		 * this behaviour is exploited by tcdrain().
+		 * this behavior is exploited by tcdrain().
 		 *
 		 * According to POSIX.1 spec (7.2.2.1.2) breaks should be
 		 * between 0.25 and 0.5 seconds so we'll ask for something
@@ -2708,7 +2708,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
 	 * This ioctl allows insertion of a character into the front
 	 * of any pending data to be transmitted.
 	 *
-	 * This ioctl is to satify the "Send Character Immediate"
+	 * This ioctl is to satisfy the "Send Character Immediate"
 	 * call that the RealPort protocol spec requires.
 	 */
 	case DIGI_REALPORT_SENDIMMEDIATE:
@@ -2728,7 +2728,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
 	/*
 	 * This ioctl returns all the current counts for the port.
 	 *
-	 * This ioctl is to satify the "Line Error Counters"
+	 * This ioctl is to satisfy the "Line Error Counters"
 	 * call that the RealPort protocol spec requires.
 	 */
 	case DIGI_REALPORT_GETCOUNTERS:
@@ -2754,7 +2754,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
 	/*
 	 * This ioctl returns all current events.
 	 *
-	 * This ioctl is to satify the "Event Reporting"
+	 * This ioctl is to satisfy the "Event Reporting"
 	 * call that the RealPort protocol spec requires.
 	 */
 	case DIGI_REALPORT_GETEVENTS:
-- 
2.1.4

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

* Re: [PATCH] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections
  2016-11-12 23:53 [PATCH] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections Walt Feasel
@ 2016-11-13  0:13 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2016-11-13  0:13 UTC (permalink / raw)
  To: Walt Feasel, markh
  Cc: devel, lidza.louina, driverdev-devel, linux-kernel, gregkh

On 11/12/16 15:53, Walt Feasel wrote:
> Made various spelling corrections in the comments

  Make

> 
> Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
> ---
>  drivers/staging/dgnc/dgnc_tty.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
> index 52be33f..4240609 100644
> --- a/drivers/staging/dgnc/dgnc_tty.c
> +++ b/drivers/staging/dgnc/dgnc_tty.c
> @@ -2439,7 +2439,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
>  	case TCSBRK:
>  		/*
>  		 * TCSBRK is SVID version: non-zero arg --> no break
> -		 * this behaviour is exploited by tcdrain().
> +		 * this behavior is exploited by tcdrain().

Nope.  We allow British or American English spelling.

>  		 *
>  		 * According to POSIX.1 spec (7.2.2.1.2) breaks should be
>  		 * between 0.25 and 0.5 seconds so we'll ask for something


-- 
~Randy

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

end of thread, other threads:[~2016-11-13  0:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-12 23:53 [PATCH] [STYLE 2/4]staging:dgnc:dgnc_tty.c Spelling corrections Walt Feasel
2016-11-13  0:13 ` Randy Dunlap

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