[PATCH 2/3] serial: 8250: move rx_running out of the bitfield

2015-07-30 Thread John Ogness
That bitfield is modified by read + or + write operation. If someone sets any of the other two bits it might render the lock useless. Signed-off-by: John Ogness john.ogn...@linutronix.de Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- drivers/tty/serial/8250/8250.h |2 +-

Re: [PATCH 2/3] serial: 8250: move rx_running out of the bitfield

2015-07-30 Thread Peter Hurley
On 07/30/2015 06:54 PM, John Ogness wrote: That bitfield is modified by read + or + write operation. If someone sets any of the other two bits it might render the lock useless. Good catch. Let's just make all of the fields not bitfield though. Regards, Peter Hurley Signed-off-by: John Ogness