aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-08 19:23:57 +0200
committerBjorn Helgaas <[email protected]>2021-08-12 12:48:51 -0500
commitfe7568cf2f2dc3a0783f6ffdb3802c1ce2085466 (patch)
treedf6dfd8b6a3591a78a1756465be14f44eb81db0f /lib/mpi/mpi-mod.c
parent7bac54497c3e3b2ca37b7043f1fa78586540f10e (diff)
PCI/VPD: Treat invalid VPD like missing VPD capability
Exporting sysfs files that can't be accessed doesn't make much sense. Therefore, if either a quirk or the dynamic size calculation result in VPD being marked as invalid, treat this as though the device has no VPD capability. One consequence is that the "vpd" sysfs file is not visible. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions