linux-sg2042/drivers/tty/serial/8250
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
..
8250.h serial: 8250: sparse warning of incorrect type 2014-11-06 14:58:28 -08:00
8250_accent.c
8250_acorn.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_boca.c
8250_core.c serial: 8250_core: actually limit char reads to max_count 2014-11-06 15:01:03 -08:00
8250_dma.c serial: 8250_dma: no need to set tx_err twice 2014-11-06 15:01:03 -08:00
8250_dw.c serial: 8250_dw: get index of serial line from DT aliases 2014-11-06 14:57:26 -08:00
8250_early.c tty/serial: fix 8250 early console option passing to regular console 2014-06-19 13:07:26 -07:00
8250_em.c serial: 8250_em: Remove out-of-memory message 2014-11-05 20:18:30 -08:00
8250_exar_st16c554.c
8250_fintek.c 8250/fintek: Use rs485 handler from serial_core 2014-11-06 14:59:21 -08:00
8250_fourport.c
8250_fsl.c serial: 8250: introduce up_to_u8250p() helper 2014-07-17 18:16:23 -07:00
8250_gsc.c parisc: Fix interrupt routing for C8000 serial ports 2013-07-31 23:42:32 +02:00
8250_hp300.c serial: hp300: Remove obsolete comments 2014-11-05 20:18:30 -08:00
8250_hub6.c
8250_mtk.c tty: serial: Fix mediatek UART driver setting baudrate issue 2014-11-06 14:57:25 -08:00
8250_omap.c tty: serial: 8250: omap: add dma support 2014-11-05 19:13:34 -08:00
8250_pci.c parport: Add support for the WCH382 2S/1P multi-IO card 2014-11-06 14:58:21 -08:00
8250_pnp.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00
Kconfig serial: ralink: adds Mediatek MT7620 serial 2014-11-06 14:57:18 -08:00
Makefile tty: serial: Add 8250-core based omap driver 2014-11-05 19:05:13 -08:00
serial_cs.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00