Skip to content

Commit b3a882e

Browse files
tklausergregkh
authored andcommitted
tty/serial/altera_uart: unwrap error log string
The error log string should be a single line, unwrap it. Suggested-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Tobias Klauser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3f35692 commit b3a882e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tty/serial/altera_uart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ static int altera_uart_startup(struct uart_port *port)
307307
ret = request_irq(port->irq, altera_uart_interrupt, 0,
308308
dev_name(port->dev), port);
309309
if (ret) {
310-
dev_err(port->dev, "unable to attach Altera UART %d "
311-
"interrupt vector=%d\n", port->line, port->irq);
310+
dev_err(port->dev, "unable to attach Altera UART %d interrupt vector=%d\n",
311+
port->line, port->irq);
312312
return ret;
313313
}
314314
}

0 commit comments

Comments
 (0)