diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-10-25 20:26:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 20:30:27 +0200 |
commit | cadf74869013dc309bde50ed446f56d33a6a9806 (patch) | |
tree | 992a1e77de0cb7afaeeb9ddd27b999713fa36bcf /drivers/tty/n_tty.c | |
parent | serial: ifx6x60: del_timer_sync must not be called in interrupt context. (diff) | |
download | linux-cadf74869013dc309bde50ed446f56d33a6a9806.tar.xz linux-cadf74869013dc309bde50ed446f56d33a6a9806.zip |
tty: add missing newlines to WARN_RATELIMIT
WARN_RATELIMIT() expects the warning to end with a newline if one
is needed.
Not doing so results in odd looking warnings such as:
[ 1339.454272] tty is NULLPid: 7147, comm: kworker/4:0 Tainted: G W 3.7.0-rc2-next-20121025-sasha-00001-g673f98e-dirty #75
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r-- | drivers/tty/n_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 60b076cc4e20..19083efa2314 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -151,7 +151,7 @@ static void n_tty_set_room(struct tty_struct *tty) /* Did this open up the receive buffer? We may need to flip */ if (left && !old_left) { WARN_RATELIMIT(tty->port->itty == NULL, - "scheduling with invalid itty"); + "scheduling with invalid itty\n"); schedule_work(&tty->port->buf.work); } } |