[PATCH 0/6] hw: Clean up global variables shadowing

Philippe Mathieu-Daudé posted 6 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231009094747.54240-1-philmd@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Eduardo Habkost <eduardo@habkost.net>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>
There is a newer version of this series
hw/display/vga_int.h      |  2 +-
include/hw/acpi/pcihp.h   |  2 +-
include/hw/core/cpu.h     |  8 ++++----
include/hw/loader.h       |  2 +-
include/hw/pci/pci.h      |  9 +++------
cpu-common.c              |  6 +++---
hw/acpi/pcihp.c           |  5 ++---
hw/core/loader.c          |  4 ++--
hw/display/vga.c          |  6 +++---
hw/pci/pci.c              | 25 +++++++++----------------
hw/s390x/sclpquiesce.c    |  8 ++++----
target/s390x/cpu_models.c |  2 +-
12 files changed, 34 insertions(+), 45 deletions(-)
[PATCH 0/6] hw: Clean up global variables shadowing
Posted by Philippe Mathieu-Daudé 7 months, 1 week ago
Clean up global variables shadowing in hw/ in
order to be able to use -Wshadow with Clang.

Philippe Mathieu-Daudé (6):
  hw/core/cpu: Clean up global variable shadowing
  hw/loader: Clean up global variable shadowing in rom_add_file()
  hw/display/vga: Clean up global variable shadowing
  hw/acpi/pcihp: Clean up global variable shadowing in acpi_pcihp_init()
  hw/pci: Clean up global variable shadowing of address_space_io
    variable
  hw/s390x: Clean up global variable shadowing in
    quiesce_powerdown_req()

 hw/display/vga_int.h      |  2 +-
 include/hw/acpi/pcihp.h   |  2 +-
 include/hw/core/cpu.h     |  8 ++++----
 include/hw/loader.h       |  2 +-
 include/hw/pci/pci.h      |  9 +++------
 cpu-common.c              |  6 +++---
 hw/acpi/pcihp.c           |  5 ++---
 hw/core/loader.c          |  4 ++--
 hw/display/vga.c          |  6 +++---
 hw/pci/pci.c              | 25 +++++++++----------------
 hw/s390x/sclpquiesce.c    |  8 ++++----
 target/s390x/cpu_models.c |  2 +-
 12 files changed, 34 insertions(+), 45 deletions(-)

-- 
2.41.0