aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_driver_platform.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-03-18 21:29:21 +0000
committerGreg Kroah-Hartman <[email protected]>2025-03-18 23:55:12 +0000
commite2942bb4e62938fcef1481c9c1470b661087cdb7 (patch)
tree0de2cc3f2df49f9d9b62179bb836cec62858e95c /samples/rust/rust_driver_platform.rs
parentrust: platform: fix unrestricted &mut platform::Device (diff)
downloadkernel-e2942bb4e62938fcef1481c9c1470b661087cdb7.tar.gz
kernel-e2942bb4e62938fcef1481c9c1470b661087cdb7.zip
rust: pci: impl Send + Sync for pci::Device
Commit 7b948a2af6b5 ("rust: pci: fix unrestricted &mut pci::Device") changed the definition of pci::Device and discarded the implicitly derived Send and Sync traits. This isn't required by upstream code yet, and hence did not cause any issues. However, it is relied on by upcoming drivers, hence add it back in. Signed-off-by: Danilo Krummrich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions