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

From: Sinan Kaya
Date: Fri Dec 14 2018 - 10:33:29 EST


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;