driver-core: rust: replace `kernel::c_str!` with C-Strings
Get series with b4
b4 am [email protected] change-id 20251222-cstr-driver-core-8bf66543f532Versions newest first
- v1 Latest7 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | rust: auxiliary: replace `kernel::c_str!` with C-Stringssamples/ | +2 | 0 replies | |
| 2/7 | rust: device: replace `kernel::c_str!` with C-Stringsrust/ rust/ | +4 | 0 replies | |
| 3/7 | rust: platform: replace `kernel::c_str!` with C-Stringsrust/ samples/ samples/ | +19 | 0 replies | |
| 4/7 | rust: io: replace `kernel::c_str!` with C-Stringsrust/ | +3 | 0 replies | |
| 5/7 | rust: irq: replace `kernel::c_str!` with C-Stringsrust/ | +2 | 0 replies | |
| 6/7 | rust: debugfs: replace `kernel::c_str!` with C-Stringsrust/ | +9 | 0 replies | |
| 7/7 | samples: rust: debugfs: replace `kernel::c_str!` with C-Stringssamples/ samples/ | +16 | 0 replies |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Greg Kroah-Hartman | Alice Ryhl | Benno Lossin | Danilo Krummrich | Daniel Almeida |
|---|---|---|---|---|---|
| Series | R-b | ||||
| 1/7 | A-b | R-b | R-b | A-b | |
| 2/7 | A-b | R-b | R-b | A-b | |
| 3/7 | A-b | R-b | R-b | A-b | |
| 4/7 | |||||
| 5/7 | |||||
| 6/7 | |||||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 0/7] driver-core: rust: replace `kernel::c_str!` with C-Strings
C-String literals were added in Rust 1.77. Replace instances of kernel::c_str! with C-String literals where possible.
---
Tamir Duberstein (7):
rust: auxiliary: replace kernel::c_str! with C-Strings
rust: device: replace kernel::c_str! with C-Strings
rust: platform: replace kernel::c_str! with C-Strings
rust: io: replace kernel::c_str! with C-Strings
rust: irq: replace kernel::c_str! with C-Strings
rust: debugfs: replace kernel::c_str! with C-Strings
samples: rust: debugfs: replace kernel::c_str! with C-Strings
rust/kernel/debugfs.rs | 23 +++++++++-------------- rust/kernel/device.rs | 4 +--- rust/kernel/device/property.rs | 6 +++--- rust/kernel/io/mem.rs | 7 +++---- rust/kernel/irq/request.rs | 6 ++---- rust/kernel/platform.rs | 6 +++--- samples/rust/rust_debugfs.rs | 17 ++++++++--------- samples/rust/rust_debugfs_scoped.rs | 20 ++++++++------------ samples/rust/rust_driver_auxiliary.rs | 4 ++-- samples/rust/rust_driver_faux.rs | 4 ++-- samples/rust/rust_driver_platform.rs | 30 ++++++++++++++---------------- 11 files changed, 55 insertions(+), 72 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251222-cstr-driver-core-8bf66543f532
Best regards,
Signature · 1 line
Tamir Duberstein <[email protected]>