public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* 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

only message in thread, other threads:[~2025-12-17 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251210112503.62925-1-mt@markoturk.info>
     [not found] ` <20251210112503.62925-2-mt@markoturk.info>
2025-12-17 17:11   ` [PATCH 2/2] samples: rust: fix endianness issue in rust_driver_pci Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox