We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1bffb51 + fac679d commit c29008eCopy full SHA for c29008e
drivers/pci/pci-acpi.c
@@ -122,6 +122,8 @@ phys_addr_t acpi_pci_root_get_mcfg_addr(acpi_handle handle)
122
123
bool pci_acpi_preserve_config(struct pci_host_bridge *host_bridge)
124
{
125
+ bool ret = false;
126
+
127
if (ACPI_HANDLE(&host_bridge->dev)) {
128
union acpi_object *obj;
129
@@ -135,11 +137,11 @@ bool pci_acpi_preserve_config(struct pci_host_bridge *host_bridge)
135
137
1, DSM_PCI_PRESERVE_BOOT_CONFIG,
136
138
NULL, ACPI_TYPE_INTEGER);
139
if (obj && obj->integer.value == 0)
- return true;
140
+ ret = true;
141
ACPI_FREE(obj);
142
}
143
- return false;
144
+ return ret;
145
146
147
/* _HPX PCI Setting Record (Type 0); same as _HPP */
0 commit comments