Sebastian Andrzej Siewior
658e2ebce5
serial: 8250_omap: check how many bytes were injected
...
The function tty_insert_flip_string() returns an int and as such it
might fail. So the result is that I kindly asked to insert 48 bytes and
the function only insterted 32.
I have no idea what to do with the remaining 16 so I think dropping them
is the only option. I also increase the buf_overrun counter so userpace
has a clue that we lost bytes.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-04 17:23:52 +01:00
..
2015-10-04 17:23:52 +01:00
2015-03-26 23:00:36 +01:00
2015-03-26 23:00:36 +01:00
2015-05-10 19:04:16 +02:00
2015-05-06 22:26:58 +02:00
2015-05-06 22:26:58 +02:00
2015-09-04 09:14:43 -07:00
2015-03-26 22:49:10 +01:00
2015-03-07 03:20:25 +01:00
2015-08-04 22:07:22 -07:00
2015-03-07 03:13:07 +01:00
2014-11-25 17:06:38 -08:00
2015-05-06 22:26:59 +02:00
2015-03-07 03:15:03 +01:00
2015-05-10 19:04:17 +02:00
2015-02-02 10:11:25 -08:00
2015-06-01 06:55:12 +09:00
2015-08-04 22:07:20 -07:00
2015-04-07 11:07:20 +02:00
2015-05-10 19:04:17 +02:00
2015-05-06 22:27:01 +02:00
2015-08-14 17:23:25 -07:00
2015-05-10 19:04:17 +02:00
2015-05-10 19:04:17 +02:00
2015-09-04 09:14:20 -07:00
2015-05-06 22:26:57 +02:00
2015-07-23 18:27:41 -07:00
2015-06-10 17:34:26 -07:00
2015-03-07 03:13:08 +01:00
2015-05-06 22:26:59 +02:00
2015-08-14 17:14:13 -07:00
2015-05-06 22:27:02 +02:00
2015-08-04 22:07:20 -07:00
2015-05-10 19:04:17 +02:00
2015-02-02 10:11:25 -08:00
2015-03-26 22:31:09 +01:00
2015-08-14 17:08:48 -07:00
2015-06-01 06:55:12 +09:00
2015-06-09 23:35:00 -07:00
2015-03-26 22:49:10 +01:00
2014-12-14 16:10:09 -08:00
2015-03-26 22:49:10 +01:00
2014-12-14 16:10:09 -08:00
2015-08-04 22:07:24 -07:00
2015-08-04 22:07:23 -07:00
2015-08-04 22:07:27 -07:00
2015-08-04 22:07:23 -07:00
2015-06-09 12:26:32 -07:00
2015-06-26 15:53:22 -07:00
2015-05-24 12:53:44 -07:00
2015-06-26 15:53:22 -07:00
2015-05-10 19:06:39 +02:00
2015-07-23 15:32:04 -07:00
2015-07-23 15:32:04 -07:00
2015-07-23 18:27:41 -07:00
2015-06-12 17:39:50 -07:00
2015-03-26 22:49:10 +01:00
2015-07-23 17:37:53 -07:00
2015-07-23 18:27:41 -07:00
2015-07-23 18:27:41 -07:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-04-28 14:26:21 +02:00
2015-07-23 18:05:00 -07:00
2015-05-10 19:10:08 +02:00