diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-02-08 23:05:45 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-02-11 12:02:14 +0100 |
commit | 780da9e4f5bf35d348b290f0f97de9b55670cb5b (patch) | |
tree | 3a5761d5e20ba88df76f7f4cc03a20de20b543da /drivers/iommu/io-pgtable-arm-v7s.c | |
parent | iommu: Allow io-pgtable to be used outside of drivers/iommu/ (diff) | |
download | linux-780da9e4f5bf35d348b290f0f97de9b55670cb5b.tar.xz linux-780da9e4f5bf35d348b290f0f97de9b55670cb5b.zip |
iommu: Use dev_printk() when possible
Use dev_printk() when possible so the IOMMU messages are more consistent
with other messages related to the device.
E.g., I think these messages related to surprise hotplug:
pciehp 0000:80:10.0:pcie004: Slot(36): Link Down
iommu: Removing device 0000:87:00.0 from group 12
pciehp 0000:80:10.0:pcie004: Slot(36): Card present
pcieport 0000:80:10.0: Data Link Layer Link Active not set in 1000 msec
would be easier to read as these (also requires some PCI changes not
included here):
pci 0000:80:10.0: Slot(36): Link Down
pci 0000:87:00.0: Removing from iommu group 12
pci 0000:80:10.0: Slot(36): Card present
pci 0000:80:10.0: Data Link Layer Link Active not set in 1000 msec
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm-v7s.c')
0 files changed, 0 insertions, 0 deletions