summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/uartlite.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-10-06 13:34:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-20 14:20:06 +0200
commitbdff14808679ef913dc10611f1bfcc3276665967 (patch)
tree5ea5615ccf9e2c20958df369d9ab7b8df060055f /drivers/tty/serial/uartlite.c
parentserdev: enable TTY port controller support by default (diff)
downloadlinux-bdff14808679ef913dc10611f1bfcc3276665967.tar.xz
linux-bdff14808679ef913dc10611f1bfcc3276665967.zip
serial-uartlite: pr_err() strings should end with newlines
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>
Diffstat (limited to 'drivers/tty/serial/uartlite.c')
-rw-r--r--drivers/tty/serial/uartlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index c9b8d702dadc..1de99425d9e8 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -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;
}