linux/samples
Marko Turk e2f1081ca8 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: 685376d18e ("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>
2025-12-17 18:10:58 +01:00
..
acrn
auxdisplay
binderfs
bpf
cgroup
check-exec
configfs
connector
coresight
damon
fanotify
fprobe
ftrace
hid
hidraw
hung_task
hw_breakpoint
kdb
kfifo
kmemleak
kobject
kprobes
landlock
livepatch
mei
nitro_enclaves
pfsm
pidfd
pktgen
qmi
rpmsg
rust samples: rust: fix endianness issue in rust_driver_pci 2025-12-17 18:10:58 +01:00
seccomp
timers
trace_events
trace_printk
tsm-mr
uhid
user_events
v4l
vfio-mdev
vfs Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
watch_queue
watchdog
Kconfig
Makefile