Skip to contentSkip to conversation

tty:serial_core: Spelling mistake

PATCH In review Hariprasad Kelam 2 participants 2 messages Mar 28, 2019 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tty:serial_core: Spelling mistake

fix spelling mistake "overriden" -> "overridden"

This fix resolves warning reported by checkpatch tool.

---
Changes in V2:
-Make commit message more clear

---
 drivers/tty/serial/serial_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/serial_core.c +0 -0
index 351843f..69f4871 100644
@@ -1514,7 +1514,7 @@ static void uart_set_termios(struct tty_struct *tty,
	}

	uart_change_speed(tty, state, old_termios);
-	/* reload cflag from termios; port driver may have overriden flags */
+	/* reload cflag from termios; port driver may have overridden flags */
	cflag = tty->termios.c_cflag;

	/* Handle transition to B0 status */
Signature · 1 line
2.7.4
Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Hariprasad Kelam

fix spelling mistake "overriden" -> "overridden"

This fix resolves warning reported by checkpatch tool.

-Mukesh

Quoted 20 lines

---
Changes in V2:
-Make commit message more clear

---
  drivers/tty/serial/serial_core.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/serial_core.c +1 -1
index 351843f..69f4871 100644
@@ -1514,7 +1514,7 @@ static void uart_set_termios(struct tty_struct *tty,
 	}
 
 	uart_change_speed(tty, state, old_termios);
-	/* reload cflag from termios; port driver may have overriden flags */
+	/* reload cflag from termios; port driver may have overridden flags */
 	cflag = tty->termios.c_cflag;
 
 	/* Handle transition to B0 status */