mbox series

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

Message ID 20230922152944.3583438-1-peter.maydell@linaro.org
Headers show
Series arm: fix some -Wshadow warnings | expand

Message

Peter Maydell Sept. 22, 2023, 3:29 p.m. UTC
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(-)

Comments

Markus Armbruster Sept. 29, 2023, 6:16 a.m. UTC | #1
Peter Maydell <peter.maydell@linaro.org> writes:

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

Queued, thanks!