[PATCH 0/4] arm: fix some -Wshadow warnings

Peter Maydell posted 4 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230922152944.3583438-1-peter.maydell@linaro.org
Maintainers: Eric Auger <eric.auger@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmuv3-internal.h | 41 +++++++++++++---------------------------
hw/arm/smmuv3.c          |  4 ++--
hw/intc/arm_gicv3_its.c  |  6 +++---
hw/misc/arm_sysctl.c     |  6 +++---
4 files changed, 21 insertions(+), 36 deletions(-)
[PATCH 0/4] arm: fix some -Wshadow warnings
Posted by Peter Maydell 7 months, 1 week ago
These patches fix some -Wshadow warnings in arm related code.

-- PMM

Peter Maydell (4):
  hw/intc/arm_gicv3_its: Avoid shadowing variable in
    do_process_its_cmd()
  hw/misc/arm_sysctl.c: Avoid shadowing local variable
  hw/arm/smmuv3.c: Avoid shadowing variable
  hw/arm/smmuv3-internal.h: Don't use locals in statement macros

 hw/arm/smmuv3-internal.h | 41 +++++++++++++---------------------------
 hw/arm/smmuv3.c          |  4 ++--
 hw/intc/arm_gicv3_its.c  |  6 +++---
 hw/misc/arm_sysctl.c     |  6 +++---
 4 files changed, 21 insertions(+), 36 deletions(-)

-- 
2.34.1
Re: [PATCH 0/4] arm: fix some -Wshadow warnings
Posted by Markus Armbruster 7 months ago
Peter Maydell <peter.maydell@linaro.org> writes:

> These patches fix some -Wshadow warnings in arm related code.

Queued, thanks!