2023-12-08 10:23:46

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] serial: ma35d1: Fix spelling mistake "ononsole" -> "console"

There is a spelling mistake in a pr_warn message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/tty/serial/ma35d1_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/ma35d1_serial.c b/drivers/tty/serial/ma35d1_serial.c
index b4dcbd0c95bf..19f0a305cc43 100644
--- a/drivers/tty/serial/ma35d1_serial.c
+++ b/drivers/tty/serial/ma35d1_serial.c
@@ -558,7 +558,7 @@ static void ma35d1serial_console_write(struct console *co, const char *s, u32 co
u32 ier;

if ((co->index < 0) || (co->index >= MA35_UART_NR)) {
- pr_warn("Failed to write on ononsole port %x, out of range\n",
+ pr_warn("Failed to write on console port %x, out of range\n",
co->index);
return;
}
--
2.39.2