summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-11-15 08:01:17 -0600
committerBjorn Helgaas <bhelgaas@google.com>2016-12-12 10:05:24 -0600
commit044bc425bb72ffdecfb2a66d50cb1d024ecb96d0 (patch)
treecb3595a713db5479fd968bdff33460e0a870eea7 /drivers/pci/quirks.c
parent5fbeef63774878548a4a9244c8a5f5456a1b38a7 (diff)
downloadlinux-044bc425bb72ffdecfb2a66d50cb1d024ecb96d0.tar.bz2
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 <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r--drivers/pci/quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index c232729f5b1b..7329796a896f 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2156,7 +2156,7 @@ static void quirk_blacklist_vpd(struct pci_dev *dev)
{
if (dev->vpd) {
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");
}
}