Re: [PATCH 06/15] tty: serial: 8250_dma: handle error on TX submit

From: Sebastian Andrzej Siewior
Date: Mon Sep 01 2014 - 10:39:00 EST


On 08/18/2014 03:57 PM, Heikki Krogerus wrote:
> On Fri, Aug 15, 2014 at 07:42:34PM +0200, Sebastian Andrzej Siewior wrote:
>> diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h
>> index b161eee..02e82dc 100644
>> --- a/include/linux/serial_8250.h
>> +++ b/include/linux/serial_8250.h
>> @@ -85,6 +85,7 @@ struct uart_8250_port {
>> unsigned char mcr_force; /* mask of forced bits */
>> unsigned char cur_iotype; /* Running I/O type */
>> unsigned char rpm_tx_active;
>> + unsigned char dma_tx_err;
>
> Why not make this member of uart_8250_dma instead?

Why not indeed. Fixed.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/