On Mon, Oct 13, 2014 at 05:09:11PM +0200, Frans Klaver wrote: > 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. I'm somewhat inclined to changing the title to something like: serial: 8250_core: actually limit char reads to max_count Frans -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html