linux/samples/rust
Alexandre Courbot 0c848b3adb samples: rust: convert PCI rust sample driver to use try_access_with()
This method limits the scope of the revocable guard and is considered
safer to use for most cases, so let's showcase it here.

Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20250411-try_with-v4-2-f470ac79e2e2@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-04-22 17:21:16 +02:00
..
hostprogs
Kconfig samples: rust: add Rust auxiliary driver sample 2025-04-19 14:24:05 +02:00
Makefile samples: rust: add Rust auxiliary driver sample 2025-04-19 14:24:05 +02:00
rust_dma.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_driver_auxiliary.rs samples: rust: add Rust auxiliary driver sample 2025-04-19 14:24:05 +02:00
rust_driver_faux.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_driver_pci.rs samples: rust: convert PCI rust sample driver to use try_access_with() 2025-04-22 17:21:16 +02:00
rust_driver_platform.rs Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
rust_minimal.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00
rust_misc_device.rs Char/Misc/IIO driver updates for 6.15-rc1 2025-04-01 11:26:08 -07:00
rust_print_events.c rust: samples: add tracepoint to Rust sample 2024-11-04 16:21:44 -05:00
rust_print_main.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00