x86/pci: Rename acpi_mcfg_check_entry() to acpi_mcfg_valid_entry()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Nov 2023 18:36:39 +0000 (12:36 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Dec 2023 16:56:49 +0000 (10:56 -0600)
commit9ad67912d0d019791f0ed6bbf46374fce8a3656e
treeda075dab7ff643fe8d6272d162820d017285dcae
parent704891033b9714f4c9813bf9ffd888fc69ae3948
x86/pci: Rename acpi_mcfg_check_entry() to acpi_mcfg_valid_entry()

"acpi_mcfg_check_entry()" doesn't give a hint about what the return value
means.  Rename it to "acpi_mcfg_valid_entry()", convert the return value to
bool, and update the return values and callers to match so testing
"if (acpi_mcfg_valid_entry())" makes sense.

Link: https://lore.kernel.org/r/20231121183643.249006-6-helgaas@kernel.org
Tested-by: Tomasz Pala <gotar@polanet.pl>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/mmconfig-shared.c