]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f7e9261dff1c0325d760f7f5136fa7f4e372a4f
tree703cbe295ea5f7b0ffc4ce3178351498ed861960
parent76f80ee4be5b6328fea98e751d007a3a1142bfa6
iommu/vt-d: Drop "0x" prefix from PCI bus & device addresses

3ce0409f9f00 ("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: 3ce0409f9f00 ("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