Skip to content

(few more) Steps towards enabling -Wshadow

Philippe Mathieu-Daudé qemu-devel qemu-trivial 3 versions – Applied

Status from this message: Queued, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest16 patches 22 repliesApplied
  2. v222 patches 19 repliesSuperseded
  3. v111 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Rebased (many patches merged by Markus)
- Updated arm/ide patches (Markus, Peter)
- More patches for optarg (3)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/16hw/audio/soundhw: Clean up global variable shadowinghw/audio/soundhw.c include/hw/audio/soundhw.h+4 -41 reply
2/16hw/ide/ahci: Clean up local variable shadowinghw/ide/ahci.c+1 -31 reply
3/16net/net: Clean up global variable shadowinginclude/net/net.h net/net.c+10 -101 reply
4/16os-posix: Clean up global variable shadowinginclude/sysemu/os-posix.h os-posix.c+8 -81 reply
5/16plugins/loader: Clean up global variable shadowinginclude/qemu/plugin.h plugins/loader.c+4 -41 reply
6/16qemu-img: Clean up global variable shadowingqemu-img.c+11 -111 reply
7/16qemu-io: Clean up global variable shadowingqemu-io.c+2 -21 reply
8/16qom/object_interfaces: Clean up global variable shadowinginclude/qom/object_interfaces.h qom/object_interfaces.c+16 -160 replies
9/16semihosting: Clean up global variable shadowinginclude/semihosting/semihost.h semihosting/config.c stubs/semihost.c+6 -63 replies
10/16ui/cocoa: Clean up global variable shadowingui/cocoa.m+2 -21 reply
11/16util/cutils: Clean up global variable shadowing in get_relocated_path()util/cutils.c+0 -11 reply
12/16util/guest-random: Clean up global variable shadowinginclude/qemu/guest-random.h util/guest-random.c+7 -70 replies
13/16semihosting/arm-compat: Clean up local variable shadowingsemihosting/arm-compat-semi.c+4 -13 replies
14/16softmmu/vl: Clean up global variable shadowingsoftmmu/vl.c+13 -132 replies
15/16sysemu/tpm: Clean up global variable shadowinginclude/sysemu/tpm.h softmmu/tpm.c+4 -41 reply
16/16trace/control: Clean up global variable shadowingtrace/control.c trace/control.h+4 -41 reply

Reviews trailers per patch

14 of 16 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlex BennéeStefan BergerEric BlakeRichard HendersonAkihiko OdakiMarkus ArmbrusterStefan HajnocziJohn SnowThomas Huth
SeriesR-b
1/16R-b
2/16R-b
3/16R-b
4/16R-b
5/16A-b
6/16R-b
7/16R-b
8/16
9/16A-b
10/16R-b
11/16R-b
12/16
13/16R-b
14/16R-b
15/16R-b
16/16R-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 9 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/16] (few more) Steps towards enabling -Wshadow

Since v2:
- Rebased (many patches merged by Markus)
- Updated arm/ide patches (Markus, Peter)
- More patches for optarg (3)

Since v1:
- Addressed review comments
- Added R-b tags
- More patches

For rational see Markus cover on
https://lore.kernel.org/qemu-devel/[email protected]/

Philippe Mathieu-Daudé (16):
hw/audio/soundhw: Clean up global variable shadowing hw/ide/ahci: Clean up local variable shadowing net/net: Clean up global variable shadowing
os-posix: Clean up global variable shadowing plugins/loader: Clean up global variable shadowing
qemu-img: Clean up global variable shadowing
qemu-io: Clean up global variable shadowing qom/object_interfaces: Clean up global variable shadowing
semihosting: Clean up global variable shadowing ui/cocoa: Clean up global variable shadowing util/cutils: Clean up global variable shadowing in
get_relocated_path()
util/guest-random: Clean up global variable shadowing semihosting/arm-compat: Clean up local variable shadowing softmmu/vl: Clean up global variable shadowing sysemu/tpm: Clean up global variable shadowing trace/control: Clean up global variable shadowing

 include/hw/audio/soundhw.h      |  2 +-
 include/net/net.h               |  6 +++---
 include/qemu/guest-random.h     |  8 ++++----
 include/qemu/plugin.h           |  4 ++--
 include/qom/object_interfaces.h | 16 ++++++++--------
 include/semihosting/semihost.h  |  2 +-
 include/sysemu/os-posix.h       |  4 ++--
 include/sysemu/tpm.h            |  2 +-
 trace/control.h                 |  4 ++--
 hw/audio/soundhw.c              |  6 +++---
 hw/ide/ahci.c                   |  4 +---
 net/net.c                       | 14 +++++++-------
 os-posix.c                      | 12 ++++++------
 plugins/loader.c                |  4 ++--
 qemu-img.c                      | 22 +++++++++++-----------
 qemu-io.c                       |  4 ++--
 qom/object_interfaces.c         | 16 ++++++++--------
 semihosting/arm-compat-semi.c   |  5 ++++-
 semihosting/config.c            |  8 ++++----
 softmmu/tpm.c                   |  6 +++---
 softmmu/vl.c                    | 26 +++++++++++++-------------
 stubs/semihost.c                |  2 +-
 trace/control.c                 |  4 ++--
 util/cutils.c                   |  1 -
 util/guest-random.c             |  6 +++---
 ui/cocoa.m                      |  4 ++--
 26 files changed, 96 insertions(+), 96 deletions(-)
Signature · 1 line
2.41.0