diff options
| author | Marko Turk <mt@markoturk.info> | 2025-12-10 12:25:51 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2025-12-17 18:10:58 +0100 |
| commit | e2f1081ca8f18c146e8f928486deac61eca2b517 (patch) | |
| tree | c8b1f53ada9095f9fe80ad8bdae1172f3a2a9388 /include/linux/platform_data/git:/git.armlinux.org.uk | |
| parent | d8932355f8c5673106eca49abd142f8fe0c1fe8b (diff) | |
samples: rust: fix endianness issue in rust_driver_pci
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.
Cc: stable@vger.kernel.org
Reviewed-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Marko Turk <mt@markoturk.info>
Fixes: 685376d18e9a ("samples: rust: add Rust PCI sample driver")
Link: https://patch.msgid.link/20251210112503.62925-2-mt@markoturk.info
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/platform_data/git:/git.armlinux.org.uk')
0 files changed, 0 insertions, 0 deletions
