Home
last modified time | relevance | path

Searched hist:"305 ab2b9716551e486cbdcff111610a2cf8da095" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/hw/acpi/
H A Dpcihp.hdiff 305ab2b9716551e486cbdcff111610a2cf8da095 Mon Oct 09 03:13:41 CDT 2023 Philippe Mathieu-Daudé <philmd@linaro.org> hw/acpi/pcihp: Clean up global variable shadowing in acpi_pcihp_init()

Fix:

hw/acpi/pcihp.c:499:36: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
include/exec/address-spaces.h:35:21: note: previous declaration is here
extern AddressSpace address_space_io;
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231010115048.11856-5-philmd@linaro.org>
/openbmc/qemu/hw/acpi/
H A Dpcihp.cdiff 305ab2b9716551e486cbdcff111610a2cf8da095 Mon Oct 09 03:13:41 CDT 2023 Philippe Mathieu-Daudé <philmd@linaro.org> hw/acpi/pcihp: Clean up global variable shadowing in acpi_pcihp_init()

Fix:

hw/acpi/pcihp.c:499:36: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
include/exec/address-spaces.h:35:21: note: previous declaration is here
extern AddressSpace address_space_io;
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231010115048.11856-5-philmd@linaro.org>