diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-11-21 21:36:40 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-12-05 19:56:53 +0300 |
commit | d26e7fc3d907db19f7e25126476cb416f0527592 (patch) | |
tree | ba7922b013bc6f02fbc1777e055fc16791fe02b4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9ad67912d0d019791f0ed6bbf46374fce8a3656e (diff) | |
download | linux-d26e7fc3d907db19f7e25126476cb416f0527592.tar.xz |
x86/pci: Rename pci_mmcfg_check_reserved() to pci_mmcfg_reserved()
"pci_mmcfg_check_reserved()" doesn't give a hint about what the boolean
return value means. Rename it to pci_mmcfg_reserved() so testing
"if (pci_mmcfg_reserved())" makes sense.
Update callers to treat the return value as boolean instead of comparing
with 0.
Link: https://lore.kernel.org/r/20231121183643.249006-7-helgaas@kernel.org
Tested-by: Tomasz Pala <gotar@polanet.pl>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions