Commit d9824f70 authored by Alex Williamson's avatar Alex Williamson
Browse files

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.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 6c8017c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1566,7 +1566,7 @@ static int vfio_cap_init(struct vfio_pci_core_device *vdev)
		}

		if (!len) {
			pci_info(pdev, "%s: hiding cap %#x@%#x\n", __func__,
			pci_dbg(pdev, "%s: hiding cap %#x@%#x\n", __func__,
				cap, pos);
			*prev = next;
			pos = next;