summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-09 09:33:29 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-20 14:46:07 +0200
commita7e6186810f9389bb3aaa9209f548052651bc11d (patch)
tree66cfab3f8aa55622c1d2ed67bb793a08e36a997a /python
parent2277fbfde16582b76254f8bbbebfb969d0dbef3c (diff)
downloadfocaccia-qemu-a7e6186810f9389bb3aaa9209f548052651bc11d.tar.gz
focaccia-qemu-a7e6186810f9389bb3aaa9209f548052651bc11d.zip
hw/pci: Clean up global variable shadowing of address_space_io variable
Fix:

  hw/pci/pci.c:504:54: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
                                         MemoryRegion *address_space_io,
                                                       ^
  hw/pci/pci.c:533:38: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
                         MemoryRegion *address_space_io,
                                       ^
  hw/pci/pci.c:543:40: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
                           MemoryRegion *address_space_io,
                                         ^
  hw/pci/pci.c:590:45: 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>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231010115048.11856-6-philmd@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions