linux/samples/rust
Tamir Duberstein a3a7d09ab8 rust: configfs: use core::ffi::CStr method names
Prepare for `core::ffi::CStr` taking the place of `kernel::str::CStr` by
avoid methods that only exist on the latter.

Also avoid `Deref<Target=BStr> for CStr` as that impl doesn't exist on
`core::ffi::CStr`.

Link: https://github.com/Rust-for-Linux/linux/issues/1075
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Acked-by: Andreas Hindborg <a.hindborg@kernel.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-09-16 09:26:59 +02:00
..
hostprogs
Kconfig drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
Makefile drm for 6.16-rc1 2025-05-28 09:46:39 -07:00
rust_configfs.rs rust: configfs: use core::ffi::CStr method names 2025-09-16 09:26:59 +02:00
rust_dma.rs rust: dma: Update ARef and AlwaysRefCounted imports from sync::aref 2025-08-15 22:53:05 +02:00
rust_driver_auxiliary.rs Rust changes for v6.17 2025-08-03 13:49:10 -07: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: pci: reset pci-testdev in unbind() 2025-07-09 00:04:33 +02:00
rust_driver_platform.rs samples: rust: add ACPI match table example to platform driver 2025-06-26 23:26:15 +02:00
rust_minimal.rs rust: module: introduce authors key 2025-03-10 15:12:17 +01:00
rust_misc_device.rs rust: uaccess: use newtype for user pointers 2025-07-14 23:52:45 +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