serial-uartlite: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 6 Oct 2017 11:34:18 +0000 (17:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:20:06 +0000 (14:20 +0200)
pr_err() messages should end with a new-line to avoid other messages
being concatenated.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c

index c9b8d702dadc35abcb6f3b74a07f62e836b2f9e2..1de99425d9e87605e9c4ab0d2a98939f554c94d2 100644 (file)
@@ -739,7 +739,7 @@ static int __init ulite_init(void)
 err_plat:
        uart_unregister_driver(&ulite_uart_driver);
 err_uart:
-       pr_err("registering uartlite driver failed: err=%i", ret);
+       pr_err("registering uartlite driver failed: err=%i\n", ret);
        return ret;
 }