Skip to content

Commit 044bc42

Browse files
committed
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: Bjorn Helgaas <[email protected]>
1 parent 5fbeef6 commit 044bc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/quirks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ static void quirk_blacklist_vpd(struct pci_dev *dev)
21562156
{
21572157
if (dev->vpd) {
21582158
dev->vpd->len = 0;
2159-
dev_warn(&dev->dev, FW_BUG "VPD access disabled\n");
2159+
dev_warn(&dev->dev, FW_BUG "disabling VPD access (can't determine size of non-standard VPD format)\n");
21602160
}
21612161
}
21622162

0 commit comments

Comments
 (0)