Re: [PATCH] staging: octeon: type change from uint<bits>_t to u<bits>

From: Dan Carpenter

Date: Tue Feb 10 2026 - 05:42:35 EST


On Tue, Feb 10, 2026 at 10:19:52AM +0000, David Laight wrote:
> As a separate issue, what is the purpose of all these bit-field structures?
> You can't portably use C bit-fields to map hardware registers or network
> packets.
> It isn't just byte-order, the 'bit order' can differ even for the same
> endianness.

Huh. I didn't know that. Can you give an example?

regards,
dan carpenter