diff options
author | John Hubbard <jhubbard@nvidia.com> | 2025-09-24 18:33:58 -0700 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-09-25 15:51:16 +0200 |
commit | d53ea977adf913a6e5024323e6b7e02326d4453c (patch) | |
tree | 18edfdeebfe4d8cd8735784f0245cb8ffb538ae9 /fs/ext4/fast_commit.c | |
parent | 855318e7c0c4a3e3014c0469dd5bc93a1c0df30c (diff) |
rust: pci: display symbolic PCI class names
The Display implementation for Class was forwarding directly to Debug
printing, resulting in raw hex values instead of PCI Class strings.
Improve things by doing a stringify!() call for each PCI Class item.
This now prints symbolic names such as "DISPLAY_VGA", instead of
"Class(0x030000)". It still falls back to Debug formatting for unknown
class values.
Suggested-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions