RE: [PATCH 05/24] thunderbolt: Rework capability handling

From: Levy, Amir (Jer)
Date: Mon May 22 2017 - 05:58:12 EST


On Mon, May 22 2017, 12:45 PM, Mika Westerberg wrote:
> I'm not sure it is good idea to use bit fields here at all. I'm not an expert in C
> but I remember reading somewhere that they are not suitable for representing
> fields inside hardware registers.
>

http://yarchive.net/comp/linux/bitfields.html