commit | 22ff2bcec704a7a8c43a998251e0757cd2de66e1 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Aug 08 19:21:02 2021 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Aug 12 12:48:36 2021 -0500 |
tree | 93f7da05f6f35bef6d2d688ed6475116f3493e9b | |
parent | a38fccdb6289d9e4796e746040b491bb0f31b151 [diff] |
PCI/VPD: Remove struct pci_vpd.valid member Instead of having a separate flag, use vp->len != 0 as indicator that VPD validity has been checked. Now vpd->len == PCI_VPD_SZ_INVALID indicates that VPD is invalid. Link: https://lore.kernel.org/r/9f777bc7-5316-e1b8-e5d4-f9f609bdb5dd@gmail.com Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>