Skip to content

hw: Clean up global variables shadowing

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hw/core/cpu: Clean up global variable shadowingcpu-common.c include/hw/core/cpu.h target/s390x/cpu_models.c+8 -80 replies
2/6hw/loader: Clean up global variable shadowing in rom_add_file()hw/core/loader.c include/hw/loader.h+3 -31 reply
3/6hw/display/vga: Clean up global variable shadowinghw/display/vga.c hw/display/vga_int.h+4 -42 replies
4/6hw/acpi/pcihp: Clean up global variable shadowing in acpi_pcihp_init()hw/acpi/pcihp.c include/hw/acpi/pcihp.h+3 -42 replies
5/6hw/pci: Clean up global variable shadowing of address_space_io variablehw/pci/pci.c include/hw/pci/pci.h+12 -221 reply
6/6hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req()hw/s390x/sclpquiesce.c+4 -43 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchThomas HuthDavid HildenbrandAni SinhaMichael S. TsirkinEric Farman
1/6
2/6
3/6
4/6R-b A-b
5/6R-b
6/6R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.41.0