]> Gentwo Git Trees - linux/.git/commit
rust: pci: use `kernel::fmt`
authorTamir Duberstein <tamird@gmail.com>
Sat, 18 Oct 2025 19:16:29 +0000 (15:16 -0400)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 20 Oct 2025 02:04:23 +0000 (04:04 +0200)
commit0e947bc22b0bdac7f708a0c6856f5999baff7b5d
treef54f33da5e7bca867c4bf620f3bdd9438d912b82
parent7b0c32cbed761335b0fa7f3db232ad69bc23ce69
rust: pci: use `kernel::fmt`

Reduce coupling to implementation details of the formatting machinery by
avoiding direct use for `core`'s formatting traits and macros.

This backslid in commit ed78a01887e2 ("rust: pci: provide access to PCI
Class and Class-related items").

Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://patch.msgid.link/20251018-cstr-core-v18-8-9378a54385f8@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/pci/id.rs