PCI: Fix printk field formatting
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Jan 2021 23:18:36 +0000 (17:18 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 25 Aug 2023 13:15:08 +0000 (08:15 -0500)
commit62008578b73f16e274070a232b939ba5933bb8ba
tree5760417fb49fa8b0abed6babeba833b8f6cf25b2
parenta49287d32d57b1bae7d53c2e6fba1b729e782568
PCI: Fix printk field formatting

Previously we used "%#08x" to print a 32-bit value.  This fills an
8-character field with "0x...", but of course many 32-bit values require a
10-character field "0x12345678" for this format.  Fix the formats to avoid
confusion.

Link: https://lore.kernel.org/r/20230824193712.542167-5-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/pci/setup-res.c