The patch titled blackfin serial driver: fix a bug in dma circle rx buffer handling has been removed from the -mm tree. Its filename was blackfin-serial-driver-fix-a-bug-in-dma-circle-rx-buffer-handling.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: blackfin serial driver: fix a bug in dma circle rx buffer handling From: Sonic Zhang <sonic.zhang@xxxxxxxxxx> Reported-by: Qian Zhang <zhangq@xxxxxxxxxxxxx> Signed-off-by: Sonic Zhang <sonic.zhang@xxxxxxxxxx> Signed-off-by: Bryan Wu <cooloney@xxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/serial/bfin_5xx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN drivers/serial/bfin_5xx.c~blackfin-serial-driver-fix-a-bug-in-dma-circle-rx-buffer-handling drivers/serial/bfin_5xx.c --- a/drivers/serial/bfin_5xx.c~blackfin-serial-driver-fix-a-bug-in-dma-circle-rx-buffer-handling +++ a/drivers/serial/bfin_5xx.c @@ -402,9 +402,11 @@ static void bfin_serial_dma_rx_chars(str else flg = TTY_NORMAL; - for (i = uart->rx_dma_buf.tail; i != uart->rx_dma_buf.head; i++) { + for (i = uart->rx_dma_buf.tail; ; i++) { if (i >= UART_XMIT_SIZE) i = 0; + if (i == uart->rx_dma_buf.head) + break; if (!uart_handle_sysrq_char(&uart->port, uart->rx_dma_buf.buf[i])) uart_insert_char(&uart->port, status, OE, uart->rx_dma_buf.buf[i], flg); _ Patches currently in -mm which might be from sonic.zhang@xxxxxxxxxx are origin.patch linux-next.patch blackfin-serial-driver-change-hardware-flowcontrol-from-poll-to-interrupt-driven.patch blackfin-serial-driver-fix-bug-serial-port-transfer-big-file-from-host-to-target-would-have-more-lines.patch blackfin-serial-driver-fix-bug-enable-hardware-based-cts-and-rts-for-bf548.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html