altera_jtaguart: Use dev_err() to report error attaching IRQ
Tobias Klauser
maintainerPATCH 1/1 altera_jtaguart: Use dev_err() to report error attaching IRQ
In case of multiple Altera JTAG UART ports available on the system, the error message will contain information about the port for which attaching the IRQ handler failed.
Signed-off-by Tobias Klauser <[email protected]>
--- drivers/tty/serial/altera_jtaguart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/altera_jtaguart.c +1 -1
@@ -175,7 +175,7 @@ static int altera_jtaguart_startup(struct uart_port *port) ret =request_irq (port->irq, altera_jtaguart_interrupt,0 ,DRV_NAME , port);if (ret) { -pr_err (DRV_NAME ": unable to attach Altera JTAG UART %d " +dev_err (port->dev,"unable to attach Altera JTAG UART %d " "interrupt vector=%d\n" , port->line, port->irq);return ret; }
Signature · 1 line
2.43.0
Quoted 3 lines · Tobias Klauser
In case of multiple Altera JTAG UART ports available on the system, the error message will contain information about the port for which attaching the IRQ handler failed.
Reviewed-by Jiri Slaby <[email protected]>
Quoted 1 line
Signed-off-by Tobias Klauser <[email protected]>
Signature · 2 lines
js suse labs