Skip to content

various: Remove unnecessary casts

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-trivial xen-devel 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 Latest3 patches 7 repliesApplied
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Reword description (Markus)
- Add A-b/R-b tags

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3target: Remove unnecessary CPU() casttarget/ppc/mmu_helper.c+1 -10 replies
2/3various: Remove unnecessary OBJECT() casthw/core/bus.c hw/ide/ahci-allwinner.c hw/ipmi/smbus_ipmi.c +4 more+11 -121 reply
3/3hw: Remove unnecessary DEVICE() casthw/display/artist.c hw/display/cg3.c hw/display/sm501.c +13 more+17 -180 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDavid GibsonCédric Le GoaterRichard HendersonMarkus ArmbrusterCornelia HuckCorey MinyardJohn SnowPaul Durrant
1/3A-b R-b R-b R-b
2/3R-b R-b A-b A-b A-b
3/3A-b R-b R-b R-b R-b A-b A-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 8 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] various: Remove unnecessary casts

Remove unnecessary casts using coccinelle scripts.

The CPU()/OBJECT() patches don't introduce logical change, The DEVICE() one removes various OBJECT_CHECK() calls.

Since v3:
- Fixed patch #2 description (Markus)
- Add A-b/R-b tags

Since v2:
- Reword description (Markus)
- Add A-b/R-b tags

Philippe Mathieu-Daudé (3):
target: Remove unnecessary CPU() cast
various: Remove unnecessary OBJECT() cast
hw: Remove unnecessary DEVICE() cast

 hw/core/bus.c                       | 2 +-
 hw/display/artist.c                 | 2 +-
 hw/display/cg3.c                    | 2 +-
 hw/display/sm501.c                  | 2 +-
 hw/display/tcx.c                    | 4 ++--
 hw/display/vga-isa.c                | 2 +-
 hw/i2c/imx_i2c.c                    | 2 +-
 hw/i2c/mpc_i2c.c                    | 2 +-
 hw/ide/ahci-allwinner.c             | 2 +-
 hw/ide/piix.c                       | 2 +-
 hw/ipmi/smbus_ipmi.c                | 2 +-
 hw/microblaze/petalogix_ml605_mmu.c | 8 ++++----
 hw/misc/macio/pmu.c                 | 2 +-
 hw/net/ftgmac100.c                  | 3 +--
 hw/net/imx_fec.c                    | 2 +-
 hw/nubus/nubus-device.c             | 2 +-
 hw/pci-host/bonito.c                | 2 +-
 hw/ppc/spapr.c                      | 2 +-
 hw/s390x/sclp.c                     | 2 +-
 hw/sh4/sh_pci.c                     | 2 +-
 hw/xen/xen-legacy-backend.c         | 2 +-
 monitor/misc.c                      | 3 +--
 qom/object.c                        | 4 ++--
 target/ppc/mmu_helper.c             | 2 +-
 24 files changed, 29 insertions(+), 31 deletions(-)
Signature · 1 line
2.21.3