diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-08-08 19:23:57 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-08-12 12:48:51 -0500 |
commit | fe7568cf2f2dc3a0783f6ffdb3802c1ce2085466 (patch) | |
tree | df6dfd8b6a3591a78a1756465be14f44eb81db0f /Documentation/misc-devices | |
parent | 7bac54497c3e3b2ca37b7043f1fa78586540f10e (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/6a02b204-4ed2-4553-c3b2-eacf9554fa8d@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation/misc-devices')
0 files changed, 0 insertions, 0 deletions