Skip to contentSkip to conversation

staging:dgnc:dgnc_tty.c Spelling corrections

PATCH In review Walt Feasel 2 participants 2 messages Nov 12, 2016 – Nov 13, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 staging:dgnc:dgnc_tty.c Spelling corrections

Made various spelling corrections in the comments

---
 drivers/staging/dgnc/dgnc_tty.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +6 -6
index 52be33f..4240609 100644
@@ -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:
Signature · 1 line
2.1.4
#1 lore raw
Quoted 1 line · Walt Feasel

Made various spelling corrections in the comments

Make

Quoted 11 lines
---
 drivers/staging/dgnc/dgnc_tty.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/dgnc/dgnc_tty.c +0 -0
index 52be33f..4240609 100644

drivers/staging/dgnc/dgnc_tty.c static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, · line 2442

Quoted 5 lines
drivers/staging/dgnc/dgnc_tty.c +1 -1
@@ -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.

Quoted 3 lines
drivers/staging/dgnc/dgnc_tty.c +0 -0
 		 *
 		 * 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
Signature · 1 line
~Randy