Re: [PATCH v8 1/4] ACPI: Allow CONFIG_PCI to be unset for reboot

Sinan Kaya
2018-12-14T15:33:29Z

On 12/14/2018 4:18 AM, Rafael J. Wysocki wrote:
>> case ACPI_ADR_SPACE_PCI_CONFIG:
>> + {
> Why did you add the braces?
>

I had to move these variables to the inner scope otherwise, I get an unused
variable warning from the compiler.

>> +#ifdef CONFIG_PCI
>> + unsigned int devfn;
>> + struct pci_bus *bus0;