summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-08-08 20:21:02 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-08-12 20:48:36 +0300
commit22ff2bcec704a7a8c43a998251e0757cd2de66e1 (patch)
tree93f7da05f6f35bef6d2d688ed6475116f3493e9b /tools/perf/util/scripting-engines/trace-event-python.c
parenta38fccdb6289d9e4796e746040b491bb0f31b151 (diff)
downloadlinux-22ff2bcec704a7a8c43a998251e0757cd2de66e1.tar.xz
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions