Re: [PATCH 1/3] serial: 8250: move rx_running out of the bitfield
From: Sekhar Nori
Date: Wed Aug 26 2015 - 05:37:56 EST
On Friday 14 August 2015 09:31 PM, Sebastian Andrzej Siewior wrote:
> From: John Ogness <john.ogness@xxxxxxxxxxxxx>
>
> That bitfield is modified by read + or + write operation. If someone
> sets any of the other two bits it might render the lock useless.
>
> While at it, remove other bitfields as well to avoid more such
> errors.
>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Tested with wilink BT module on TI's DRA7 EVM.
Tested-by: Sekhar Nori <nsekhar@xxxxxx>
Thanks,
Sekhar
--
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/