[PATCH 0/9] rust: use `kernel::{fmt,prelude::fmt!}`

Benno Lossin lossin at kernel.org
Sat Jul 12 08:27:00 UTC 2025


On Wed Jul 9, 2025 at 9:59 PM CEST, Tamir Duberstein wrote:
> This is series 2a/5 of the migration to `core::ffi::CStr`[0].
> 20250704-core-cstr-prepare-v1-0-a91524037783 at gmail.com.
>
> This series depends on the prior series[0] and is intended to go through
> the rust tree to reduce the number of release cycles required to
> complete the work.
>
> Subsystem maintainers: I would appreciate your `Acked-by`s so that this
> can be taken through Miguel's tree (where the other series must go).
>
> [0] https://lore.kernel.org/all/20250704-core-cstr-prepare-v1-0-a91524037783@gmail.com/
>
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
> ---
> Tamir Duberstein (9):
>       gpu: nova-core: use `kernel::{fmt,prelude::fmt!}`
>       rust: alloc: use `kernel::{fmt,prelude::fmt!}`
>       rust: block: use `kernel::{fmt,prelude::fmt!}`
>       rust: device: use `kernel::{fmt,prelude::fmt!}`
>       rust: file: use `kernel::{fmt,prelude::fmt!}`
>       rust: kunit: use `kernel::{fmt,prelude::fmt!}`
>       rust: pin-init: use `kernel::{fmt,prelude::fmt!}`
>       rust: seq_file: use `kernel::{fmt,prelude::fmt!}`
>       rust: sync: use `kernel::{fmt,prelude::fmt!}`
>
>  drivers/block/rnull.rs               | 2 +-
>  drivers/gpu/nova-core/gpu.rs         | 3 +--
>  drivers/gpu/nova-core/regs/macros.rs | 6 +++---
>  rust/kernel/alloc/kbox.rs            | 2 +-
>  rust/kernel/alloc/kvec.rs            | 2 +-
>  rust/kernel/alloc/kvec/errors.rs     | 2 +-
>  rust/kernel/block/mq.rs              | 2 +-
>  rust/kernel/block/mq/gen_disk.rs     | 2 +-
>  rust/kernel/block/mq/raw_writer.rs   | 3 +--
>  rust/kernel/device.rs                | 6 +++---
>  rust/kernel/fs/file.rs               | 5 +++--
>  rust/kernel/init.rs                  | 4 ++--
>  rust/kernel/kunit.rs                 | 8 ++++----
>  rust/kernel/seq_file.rs              | 6 +++---
>  rust/kernel/sync/arc.rs              | 3 +--
>  scripts/rustdoc_test_gen.rs          | 2 +-
>  16 files changed, 28 insertions(+), 30 deletions(-)

For the entire series:

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

---
Cheers,
Benno


More information about the Nouveau mailing list