Thread (5 messages) 5 messages, 4 authors, 12d ago

Re: [PATCH net-next v2 0/1] net: rnpgbe: fix mailbox endianness

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-07 08:50:25
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help