iommu/vt-d: Drop "0x" prefix from PCI bus & device addresses
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Sep 2021 05:47:26 +0000 (13:47 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 28 Sep 2021 09:41:11 +0000 (11:41 +0200)
commit0b482d0c75bf321b2fd87d215c3d6df095a601d1
tree703cbe295ea5f7b0ffc4ce3178351498ed861960
parent6f87d4e637327b1da3294a7cdad60d49faa32742
iommu/vt-d: Drop "0x" prefix from PCI bus & device addresses

719a19335692 ("iommu/vt-d: Tweak the description of a DMA fault") changed
the DMA fault reason from hex to decimal.  It also added "0x" prefixes to
the PCI bus/device, e.g.,

  - DMAR: [INTR-REMAP] Request device [00:00.5]
  + DMAR: [INTR-REMAP] Request device [0x00:0x00.5]

These no longer match dev_printk() and other similar messages in
dmar_match_pci_path() and dmar_acpi_insert_dev_scope().

Drop the "0x" prefixes from the bus and device addresses.

Fixes: 719a19335692 ("iommu/vt-d: Tweak the description of a DMA fault")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20210903193711.483999-1-helgaas@kernel.org
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210922054726.499110-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/dmar.c