qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-5.1 0/3] various: Remove unnecessary casts
@ 2020-04-12 21:09 Philippe Mathieu-Daudé
  2020-04-12 21:09 ` [PATCH-for-5.1 1/3] target: Remove unnecessary CPU() cast Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-04-12 21:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, David Hildenbrand, Jason Wang, Mark Cave-Ayland,
	Gerd Hoffmann, Edgar E. Iglesias, Stefano Stabellini, qemu-block,
	Paul Durrant, Markus Armbruster, Halil Pasic,
	Christian Borntraeger, Aleksandar Markovic, Joel Stanley,
	Anthony Perard, xen-devel, David Gibson,
	Philippe Mathieu-Daudé, Eduardo Habkost, Corey Minyard,
	Dr. David Alan Gilbert, qemu-s390x, qemu-arm, Peter Chubb,
	Cédric Le Goater, John Snow, Richard Henderson,
	Daniel P. Berrangé, Andrew Jeffery, Cornelia Huck,
	Laurent Vivier, qemu-ppc, Paolo Bonzini, Aurelien Jarno,
	Philippe Mathieu-Daudé

Remove unnecessary casts using coccinelle scripts.

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

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(-)

-- 
2.21.1



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-04-17 19:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-12 21:09 [PATCH-for-5.1 0/3] various: Remove unnecessary casts Philippe Mathieu-Daudé
2020-04-12 21:09 ` [PATCH-for-5.1 1/3] target: Remove unnecessary CPU() cast Philippe Mathieu-Daudé
2020-04-14  2:06   ` David Gibson
2020-04-15  7:48   ` Cédric Le Goater
2020-04-12 21:09 ` [PATCH-for-5.1 2/3] various: Remove unnecessary OBJECT() cast Philippe Mathieu-Daudé
2020-04-14  9:44   ` Cornelia Huck
2020-04-14 20:14   ` Corey Minyard
2020-04-17 19:45   ` John Snow
2020-04-12 21:09 ` [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast Philippe Mathieu-Daudé
2020-04-14  2:07   ` David Gibson
2020-04-14  7:14   ` Paul Durrant
2020-04-14 11:31   ` Markus Armbruster
2020-04-15  7:47   ` Cédric Le Goater
2020-04-17 19:45   ` John Snow
2020-04-14 21:40 ` [PATCH-for-5.1 0/3] various: Remove unnecessary casts Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).