[PATCH 00/17] rust: replace `kernel::c_str!` with C-Strings

Benno Lossin lossin at kernel.org
Fri Jul 11 12:44:09 UTC 2025


On Thu Jul 10, 2025 at 5:31 PM CEST, Tamir Duberstein wrote:
> This series depends on step 3[0] which depends on steps 2a[1] and 2b[2]
> which both depend on step 1[3].
>
> This series also has a minor merge conflict with a small change[4] that
> was taken through driver-core-testing. This series is marked as
> depending on that change; as such it contains the post-conflict patch.
>
> Subsystem maintainers: I would appreciate your `Acked-by`s so that this
> can be taken through Miguel's tree (where the previous series must go).
>
> Link  https://lore.kernel.org/all/20250710-cstr-core-v14-0-ca7e0ca82c82@gmail.com/ [0]
> Link: https://lore.kernel.org/all/20250709-core-cstr-fanout-1-v1-0-64308e7203fc@gmail.com/ [1]
> Link: https://lore.kernel.org/all/20250709-core-cstr-fanout-1-v1-0-fd793b3e58a2@gmail.com/ [2]
> Link: https://lore.kernel.org/all/20250704-core-cstr-prepare-v1-0-a91524037783@gmail.com/ [3]
> Link: https://lore.kernel.org/all/20250704-cstr-include-aux-v1-1-e1a404ae92ac@gmail.com/ [4]
>
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
> ---
> Tamir Duberstein (17):
>       drivers: net: replace `kernel::c_str!` with C-Strings
>       gpu: nova-core: replace `kernel::c_str!` with C-Strings
>       rust: auxiliary: replace `kernel::c_str!` with C-Strings
>       rust: clk: replace `kernel::c_str!` with C-Strings
>       rust: configfs: replace `kernel::c_str!` with C-Strings
>       rust: cpufreq: replace `kernel::c_str!` with C-Strings
>       rust: device: replace `kernel::c_str!` with C-Strings
>       rust: firmware: replace `kernel::c_str!` with C-Strings
>       rust: kunit: replace `kernel::c_str!` with C-Strings
>       rust: macros: replace `kernel::c_str!` with C-Strings
>       rust: miscdevice: replace `kernel::c_str!` with C-Strings
>       rust: net: replace `kernel::c_str!` with C-Strings
>       rust: pci: replace `kernel::c_str!` with C-Strings
>       rust: platform: replace `kernel::c_str!` with C-Strings
>       rust: seq_file: replace `kernel::c_str!` with C-Strings
>       rust: str: replace `kernel::c_str!` with C-Strings
>       rust: sync: replace `kernel::c_str!` with C-Strings
>
>  drivers/block/rnull.rs                |  2 +-
>  drivers/cpufreq/rcpufreq_dt.rs        |  5 ++---
>  drivers/gpu/drm/nova/driver.rs        | 10 +++++-----
>  drivers/gpu/nova-core/driver.rs       |  6 +++---
>  drivers/net/phy/ax88796b_rust.rs      |  7 +++----
>  drivers/net/phy/qt2025.rs             |  5 ++---
>  rust/kernel/clk.rs                    |  6 ++----
>  rust/kernel/configfs.rs               |  5 ++---
>  rust/kernel/cpufreq.rs                |  3 +--
>  rust/kernel/device.rs                 |  4 +---
>  rust/kernel/firmware.rs               |  6 +++---
>  rust/kernel/kunit.rs                  | 11 ++++-------
>  rust/kernel/net/phy.rs                |  6 ++----
>  rust/kernel/platform.rs               |  4 ++--
>  rust/kernel/seq_file.rs               |  4 ++--
>  rust/kernel/str.rs                    |  5 ++---
>  rust/kernel/sync.rs                   |  5 ++---
>  rust/kernel/sync/completion.rs        |  2 +-
>  rust/kernel/workqueue.rs              |  8 ++++----
>  rust/macros/kunit.rs                  | 10 +++++-----
>  rust/macros/module.rs                 |  2 +-
>  samples/rust/rust_configfs.rs         |  5 ++---
>  samples/rust/rust_driver_auxiliary.rs |  4 ++--
>  samples/rust/rust_driver_faux.rs      |  4 ++--
>  samples/rust/rust_driver_pci.rs       |  4 ++--
>  samples/rust/rust_driver_platform.rs  |  4 ++--
>  samples/rust/rust_misc_device.rs      |  3 +--
>  scripts/rustdoc_test_gen.rs           |  4 ++--
>  28 files changed, 63 insertions(+), 81 deletions(-)

For the entire series:

Reviewed-by: Benno Lossin <lossin at kernel.org>

---
Cheers,
Benno


More information about the Nouveau mailing list