Frans Klaver c904375d4b serial: 8250_core: actually limit char reads to max_count
In serial8250_rx_chars(), max_count is set to 256. Due to the
post-decrement operator used in the while() condition, the maximum
number of iterations actually 257. This is not a problem, but it is
mildly surprising if you're debugging. Use pre-decrement instead.

Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-06 15:01:03 -08:00
..
2014-07-13 15:52:12 -07:00
2014-11-06 14:57:23 -08:00
2013-07-31 17:56:15 -07:00
2014-06-19 13:04:52 -07:00
2013-07-31 17:56:15 -07:00
2014-06-19 13:04:52 -07:00
2014-05-28 12:27:22 -07:00
2014-06-19 13:04:52 -07:00
2014-06-19 13:04:52 -07:00
2014-09-08 16:22:42 -07:00
2014-06-19 13:04:52 -07:00