Skip to content

Commit 3f35692

Browse files
tklausergregkh
authored andcommitted
tty/serial/altera_jtaguart: 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 2bcacc1 commit 3f35692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tty/serial/altera_jtaguart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ static int altera_jtaguart_startup(struct uart_port *port)
175175
ret = request_irq(port->irq, altera_jtaguart_interrupt, 0,
176176
DRV_NAME, port);
177177
if (ret) {
178-
dev_err(port->dev, "unable to attach Altera JTAG UART %d "
179-
"interrupt vector=%d\n", port->line, port->irq);
178+
dev_err(port->dev, "unable to attach Altera JTAG UART %d interrupt vector=%d\n",
179+
port->line, port->irq);
180180
return ret;
181181
}
182182

0 commit comments

Comments
 (0)