mirror-linux/samples/rust
Boqun Feng f74cf399e0 rust: debugfs: Replace the usage of Rust native atomics
Rust native atomics are not allowed to use in kernel due to the mismatch
of memory model with Linux kernel memory model, hence remove the usage
of Rust native atomics in debufs.

Reviewed-by: Matthew Maurer <mmaurer@google.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Tested-by: David Gow <davidgow@google.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://patch.msgid.link/20251022035324.70785-4-boqun.feng@gmail.com
2025-11-12 08:56:42 -08:00
..
hostprogs
Kconfig Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
Makefile Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
rust_configfs.rs for-6.18/block-20250929 2025-10-02 10:16:56 -07:00
rust_debugfs.rs rust: debugfs: Replace the usage of Rust native atomics 2025-11-12 08:56:42 -08:00
rust_debugfs_scoped.rs rust: debugfs: Replace the usage of Rust native atomics 2025-11-12 08:56:42 -08:00
rust_dma.rs drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
rust_driver_auxiliary.rs rust: pci: use pci::Vendor instead of bindings::PCI_VENDOR_ID_* 2025-09-01 20:16:36 +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 drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
rust_driver_platform.rs rust: driver-core: Update ARef and AlwaysRefCounted imports from sync::aref 2025-08-15 22:34:41 +02:00
rust_driver_usb.rs samples: rust: add a USB driver sample 2025-09-24 13:13:04 +02:00
rust_minimal.rs rust: module: introduce `authors` key 2025-03-10 15:12:17 +01:00
rust_misc_device.rs Merge patch series "Rust support for `struct iov_iter`" 2025-09-06 13:27:23 +02: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: use `kernel::{fmt,prelude::fmt!}` 2025-07-21 01:16:35 +02:00