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

Dan Carpenter <[email protected]> Tue, 10 Feb 2026 13:41:41 +0300
Newsgroups dev.linux.lists.outreachy,dev.linux.lists.linux-staging,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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