Skip to content

hw: Clean up global variables shadowing

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v110 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Addressed Ani's review comments (patches #2, #3)
- Added R-b tags

Patches in v2 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 -81 reply
2/6hw/loader: Clean up global variable shadowing in rom_add_file()hw/core/loader.c include/hw/loader.h+11 -101 reply
3/6hw/display/vga: Clean up global variable shadowinghw/display/vga.c hw/display/vga_int.h+8 -83 replies
4/6hw/acpi/pcihp: Clean up global variable shadowing in acpi_pcihp_init()hw/acpi/pcihp.c include/hw/acpi/pcihp.h+3 -40 replies
5/6hw/pci: Clean up global variable shadowing of address_space_io variablehw/pci/pci.c include/hw/pci/pci.h+12 -220 replies
6/6hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req()hw/s390x/sclpquiesce.c+4 -40 replies

Reviews trailers per patch

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

PatchAni SinhaMichael S. TsirkinThomas HuthDavid Hildenbrand
1/6R-b
2/6R-b
3/6
4/6R-b A-b
5/6A-b
6/6R-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 4 reviewers.

Read the v2 thread

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

Missing review: #1 #2 #3

v2:
- Addressed Ani's review comments (patches #2, #3)
- Added R-b tags

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      |  4 ++--
 include/hw/acpi/pcihp.h   |  2 +-
 include/hw/core/cpu.h     |  8 ++++----
 include/hw/loader.h       | 11 ++++++-----
 include/hw/pci/pci.h      |  9 +++------
 cpu-common.c              |  6 +++---
 hw/acpi/pcihp.c           |  5 ++---
 hw/core/loader.c          | 10 +++++-----
 hw/display/vga.c          | 12 ++++++------
 hw/pci/pci.c              | 25 +++++++++----------------
 hw/s390x/sclpquiesce.c    |  8 ++++----
 target/s390x/cpu_models.c |  2 +-
 12 files changed, 46 insertions(+), 56 deletions(-)
Signature · 1 line
2.41.0