* Re: [PATCH 2/2] samples: rust: fix endianness issue in rust_driver_pci
[not found] ` <20251210112503.62925-2-mt@markoturk.info>
@ 2025-12-17 17:11 ` Danilo Krummrich
0 siblings, 0 replies; only message in thread
From: Danilo Krummrich @ 2025-12-17 17:11 UTC (permalink / raw)
To: Marko Turk
Cc: bhelgaas, kwilczynski, miguel.ojeda.sandonis, dirk.behme,
linux-pci, linux-kernel, rust-for-linux, stable
(Cc: stable@vger.kernel.org)
On Wed Dec 10, 2025 at 12:25 PM CET, Marko Turk wrote:
> MMIO backend of PCI Bar always assumes little-endian devices and
> will convert to CPU endianness automatically. Remove the u32::from_le
> conversion which would cause a bug on big-endian machines.
>
> Signed-off-by: Marko Turk <mt@markoturk.info>
> Fixes: 685376d18e9a ("samples: rust: add Rust PCI sample driver")
Applied to driver-core-linus, thanks!
^ permalink raw reply [flat|nested] only message in thread