summaryrefslogtreecommitdiff
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2025-09-24 18:33:59 -0700
committerDanilo Krummrich <dakr@kernel.org>2025-09-25 15:52:00 +0200
commit6d97171ac6585de698df019b0bfea3f123fd8385 (patch)
tree112dab8dd3c4b6b40a31284ed3e8565646fe6d2e /fs/ext4/fast_commit.c
parentd53ea977adf913a6e5024323e6b7e02326d4453c (diff)
rust: pci: display symbolic PCI vendor names
The Display implementation for Vendor was forwarding directly to Debug printing, resulting in raw hex values instead of PCI Vendor strings. Improve things by doing a stringify!() call for each PCI Vendor item. This now prints symbolic names such as "NVIDIA", instead of "Vendor(0x10de)". 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> [ Remove #[inline] for Vendor::fmt(). - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions