Commit d9824f70 authored by Alex Williamson's avatar Alex Williamson

vfio/pci: Also demote hiding standard cap messages

Apply the same logic as commit 912b625b ("vfio/pci: demote hiding
ecap messages to debug level") for the less common case of hiding
standard capabilities.
Reviewed-by: default avatarOleksandr Natalenko <oleksandr@natalenko.name>
Reviewed-by: default avatarCédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/20230523225250.1215911-1-alex.williamson@redhat.comSigned-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 6c8017c6
...@@ -1566,8 +1566,8 @@ static int vfio_cap_init(struct vfio_pci_core_device *vdev) ...@@ -1566,8 +1566,8 @@ static int vfio_cap_init(struct vfio_pci_core_device *vdev)
} }
if (!len) { if (!len) {
pci_info(pdev, "%s: hiding cap %#x@%#x\n", __func__, pci_dbg(pdev, "%s: hiding cap %#x@%#x\n", __func__,
cap, pos); cap, pos);
*prev = next; *prev = next;
pos = next; pos = next;
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment