[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DF0NQO5QIZW1.36J2HDK070HC2@kernel.org>
Date: Wed, 17 Dec 2025 18:11:42 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Marko Turk" <mt@...koturk.info>
Cc: <bhelgaas@...gle.com>, <kwilczynski@...nel.org>,
<miguel.ojeda.sandonis@...il.com>, <dirk.behme@...bosch.com>,
<linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<rust-for-linux@...r.kernel.org>, <stable@...r.kernel.org>
Subject: Re: [PATCH 2/2] samples: rust: fix endianness issue in
rust_driver_pci
(Cc: stable@...r.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@...koturk.info>
> Fixes: 685376d18e9a ("samples: rust: add Rust PCI sample driver")
Applied to driver-core-linus, thanks!
Powered by blists - more mailing lists