PCI/VPD: Correct diagnostic for VPD read failure
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 15 Jul 2021 21:59:55 +0000 (16:59 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 Jul 2021 18:31:42 +0000 (13:31 -0500)
commite2cdd86b561719da9ac928635f2a55b370dbb5b1
tree0d49622be8267e7e5b7cdbb4cb8958599df9016a
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
PCI/VPD: Correct diagnostic for VPD read failure

Previously, when a VPD read failed, we warned about an "invalid large
VPD tag".  Warn about the VPD read failure instead.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/pci/vpd.c