summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-03-19 00:29:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-19 02:55:12 +0300
commite2942bb4e62938fcef1481c9c1470b661087cdb7 (patch)
tree0de2cc3f2df49f9d9b62179bb836cec62858e95c /scripts/generate_rust_target.rs
parent4d320e30ee04c25c660eca2bb33e846ebb71a79a (diff)
downloadlinux-e2942bb4e62938fcef1481c9c1470b661087cdb7.tar.xz
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 <dakr@kernel.org> Link: https://lore.kernel.org/r/20250318212940.137577-1-dakr@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions