Re: [PATCH net-next v2 0/1] net: rnpgbe: fix mailbox endianness
From: patchwork-bot+netdevbpf
Date: Tue Jul 07 2026 - 04:53:15 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Wed, 1 Jul 2026 11:22:07 +0800 you wrote:
> The rnpgbe mailbox exchanges data through 32-bit MMIO registers in
> little-endian wire format. The original code had two problems:
>
> 1. FW structs with __le16/__le32 fields were cast to (u32 *) before
> reaching the transport, hiding the endian annotations from sparse.
>
> 2. No cpu_to_le32()/le32_to_cpu() conversion was performed between
> the CPU-endian MMIO values and the little-endian payload, causing
> data corruption on big-endian systems.
>
> [...]
Here is the summary with links:
- [net-next,v2,1/1] net: rnpgbe: fix mailbox endianness and remove pointer casts
https://git.kernel.org/netdev/net/c/d9d6d67f4c08
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html