diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2024-11-13 12:43:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-13 15:13:28 +0100 |
commit | b3a882e814e007bfd0d50dc2150d48d47cb1973b (patch) | |
tree | 7da41a0590914511eafc2b304c3ed4a5ce444228 /drivers/tty | |
parent | 3f356922d4cb9c7bd0871e27dcc3b357bfb14181 (diff) | |
download | lwn-b3a882e814e007bfd0d50dc2150d48d47cb1973b.tar.gz lwn-b3a882e814e007bfd0d50dc2150d48d47cb1973b.zip |
tty/serial/altera_uart: unwrap error log string
The error log string should be a single line, unwrap it.
Suggested-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/all/26034117-26b6-4eeb-bd66-969955b70e9b@kernel.org/
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20241113114319.16636-1-tklauser@distanz.ch
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 1da9cd465426..c94655453c33 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -307,8 +307,8 @@ static int altera_uart_startup(struct uart_port *port) ret = request_irq(port->irq, altera_uart_interrupt, 0, dev_name(port->dev), port); if (ret) { - dev_err(port->dev, "unable to attach Altera UART %d " - "interrupt vector=%d\n", port->line, port->irq); + dev_err(port->dev, "unable to attach Altera UART %d interrupt vector=%d\n", + port->line, port->irq); return ret; } } |