Re: [PATCH net] net: rnpgbe: fix mailbox endianness handling
From: Andrew Lunn
Date: Wed Jun 17 2026 - 05:44:53 EST
On Wed, Jun 17, 2026 at 04:35:31PM +0800, Dong Yibo wrote:
> Mailbox data is exchanged through 32-bit MMIO accesses but the
> mailbox payload is defined using little-endian FW structures with
> __le16 and __le32 fields.
Given you are using __le16 and __le32, why did sparse not find these
issues? It would be good to understand this, because if sparse missed
this, what else has sparse missed which is also broken?
Andrew