aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-08 19:21:02 +0200
committerBjorn Helgaas <[email protected]>2021-08-12 12:48:36 -0500
commit22ff2bcec704a7a8c43a998251e0757cd2de66e1 (patch)
tree93f7da05f6f35bef6d2d688ed6475116f3493e9b /lib/mpi/mpi-mod.c
parenta38fccdb6289d9e4796e746040b491bb0f31b151 (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/[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