All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] various: Remove unnecessary casts
@ 2020-05-12  7:00 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 31+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-05-12  7:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: Andrew Jeffery, Cédric Le Goater, qemu-s390x,
	Markus Armbruster, Peter Chubb, Aleksandar Markovic,
	Paolo Bonzini, qemu-ppc, qemu-block, Richard Henderson, John Snow,
	Joel Stanley, Corey Minyard, Mark Cave-Ayland, Anthony Perard,
	Edgar E. Iglesias, qemu-arm, BALATON Zoltan, Laurent Vivier,
	Christian Borntraeger, Dr. David Alan Gilbert, Halil Pasic,
	Aurelien Jarno, Gerd Hoffmann, Daniel P. Berrangé,
	Paul Durrant, Peter Maydell, xen-devel, qemu-trivial,
	Cornelia Huck, Stefano Stabellini, Philippe Mathieu-Daudé,
	David Gibson, Jason Wang, David Hildenbrand, Eduardo Habkost,
	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.

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

-- 
2.21.3



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

end of thread, other threads:[~2020-05-21 14:06 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-12  7:00 [PATCH v3 0/3] various: Remove unnecessary casts Philippe Mathieu-Daudé
2020-05-12  7:00 ` Philippe Mathieu-Daudé
2020-05-12  7:00 ` Philippe Mathieu-Daudé
2020-05-12  7:00 ` [PATCH v3 1/3] target: Remove unnecessary CPU() cast Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-12  7:00 ` [PATCH v3 2/3] various: Remove unnecessary OBJECT() cast Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-15  4:38   ` Markus Armbruster
2020-05-15  4:38     ` Markus Armbruster
2020-05-12  7:00 ` [PATCH v3 3/3] hw: Remove unnecessary DEVICE() cast Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-12  7:00   ` Philippe Mathieu-Daudé
2020-05-15  5:58 ` [PATCH v3 0/3] various: Remove unnecessary casts Markus Armbruster
2020-05-15  5:58   ` Markus Armbruster
2020-05-18 12:40   ` Paolo Bonzini
2020-05-18 12:40     ` Paolo Bonzini
2020-05-18 12:40     ` Paolo Bonzini
2020-05-18 13:17     ` Markus Armbruster
2020-05-18 13:17       ` Markus Armbruster
2020-05-18 13:17       ` Markus Armbruster
2020-05-18 13:21       ` Cédric Le Goater
2020-05-18 13:21         ` Cédric Le Goater
2020-05-19  4:34         ` Markus Armbruster
2020-05-19  4:34           ` Markus Armbruster
2020-05-19  4:34           ` Markus Armbruster
2020-05-21 14:05           ` Paolo Bonzini
2020-05-21 14:05             ` Paolo Bonzini
2020-05-21 14:05             ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.