Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 044bc425 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Expand "VPD access disabled" quirk message



It's not very enlightening to see

  pci 0000:07:00.0: [Firmware Bug]: VPD access disabled

in the dmesg log because there's no clue about what the firmware bug is.
Expand the message to explain why we're disabling VPD.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 5fbeef63
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2156,7 +2156,7 @@ static void quirk_blacklist_vpd(struct pci_dev *dev)
{
{
	if (dev->vpd) {
	if (dev->vpd) {
		dev->vpd->len = 0;
		dev->vpd->len = 0;
		dev_warn(&dev->dev, FW_BUG "VPD access disabled\n");
		dev_warn(&dev->dev, FW_BUG "disabling VPD access (can't determine size of non-standard VPD format)\n");
	}
	}
}
}