aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/n_tty.c2
-rw-r--r--drivers/tty/tty_buffer.c2
2 files changed, 2 insertions, 2 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)
151 /* Did this open up the receive buffer? We may need to flip */ 151 /* Did this open up the receive buffer? We may need to flip */
152 if (left && !old_left) { 152 if (left && !old_left) {
153 WARN_RATELIMIT(tty->port->itty == NULL, 153 WARN_RATELIMIT(tty->port->itty == NULL,
154 "scheduling with invalid itty"); 154 "scheduling with invalid itty\n");
155 schedule_work(&tty->port->buf.work); 155 schedule_work(&tty->port->buf.work);
156 } 156 }
157} 157}
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c
index 6cf87d7afb7e..45d916198f78 100644
--- a/drivers/tty/tty_buffer.c
+++ b/drivers/tty/tty_buffer.c
@@ -473,7 +473,7 @@ static void flush_to_ldisc(struct work_struct *work)
473 struct tty_ldisc *disc; 473 struct tty_ldisc *disc;
474 474
475 tty = port->itty; 475 tty = port->itty;
476 if (WARN_RATELIMIT(tty == NULL, "tty is NULL")) 476 if (WARN_RATELIMIT(tty == NULL, "tty is NULL\n"))
477 return; 477 return;
478 478
479 disc = tty_ldisc_ref(tty); 479 disc = tty_ldisc_ref(tty);