[PATCH 7/9] rust: pin-init: use `kernel::{fmt,prelude::fmt!}`

Benno Lossin lossin at kernel.org
Wed Jul 9 20:18:16 UTC 2025


On Wed Jul 9, 2025 at 10:00 PM CEST, Tamir Duberstein wrote:
> Reduce coupling to implementation details of the formatting machinery by
> avoiding direct use for `core`'s formatting traits and macros.
>
> Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Alice Ryhl <aliceryhl at google.com>
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
> ---
>  rust/kernel/init.rs | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

I usually prefix patches to init.rs with `rust: init`. I'll fix it up
when picking the patch or Miguel can do it if he takes it:

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

---
Cheers,
Benno


More information about the Nouveau mailing list