qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 55/58] [automated] Use OBJECT_DECLARE_TYPE where possible


From: Daniel P . Berrangé
Subject: Re: [PATCH v2 55/58] [automated] Use OBJECT_DECLARE_TYPE where possible
Date: Tue, 25 Aug 2020 12:47:36 +0100
User-agent: Mutt/1.14.6 (2020-07-11)

On Wed, Aug 19, 2020 at 08:12:33PM -0400, Eduardo Habkost wrote:
> Replace DECLARE_OBJ_CHECKERS with OBJECT_DECLARE_TYPE where the
> typedefs can be safely removed.
> 
> Generated running:
> 
> $ ./scripts/codeconverter/converter.py -i \
>   --pattern=DeclareObjCheckers $(git grep -l '' -- '*.[ch]')
> 
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Changes v1 -> v2:
> * Script re-run after typedefs and macros were moved, and now the
>   patch also touches:
>   - TYPE_ARM_SSE
>   - TYPE_SD_BUS
> ---
>  hw/audio/intel-hda.h                | 6 ++----
>  hw/display/virtio-vga.h             | 6 ++----
>  include/authz/base.h                | 6 ++----
>  include/authz/list.h                | 6 ++----
>  include/authz/listfile.h            | 6 ++----
>  include/authz/pamacct.h             | 6 ++----
>  include/authz/simple.h              | 6 ++----
>  include/crypto/secret_common.h      | 6 ++----
>  include/crypto/secret_keyring.h     | 6 ++----
>  include/hw/arm/armsse.h             | 6 ++----
>  include/hw/hyperv/vmbus.h           | 6 ++----
>  include/hw/i2c/i2c.h                | 6 ++----
>  include/hw/i2c/smbus_slave.h        | 6 ++----
>  include/hw/ipack/ipack.h            | 6 ++----
>  include/hw/ipmi/ipmi.h              | 6 ++----
>  include/hw/mem/pc-dimm.h            | 6 ++----
>  include/hw/ppc/pnv.h                | 6 ++----
>  include/hw/ppc/pnv_core.h           | 6 ++----
>  include/hw/ppc/pnv_homer.h          | 6 ++----
>  include/hw/ppc/pnv_occ.h            | 6 ++----
>  include/hw/ppc/pnv_psi.h            | 6 ++----
>  include/hw/ppc/pnv_xive.h           | 6 ++----
>  include/hw/ppc/spapr_cpu_core.h     | 6 ++----
>  include/hw/ppc/spapr_drc.h          | 6 ++----
>  include/hw/ppc/spapr_vio.h          | 6 ++----
>  include/hw/ppc/spapr_xive.h         | 6 ++----
>  include/hw/ppc/xics.h               | 6 ++----
>  include/hw/ppc/xive.h               | 6 ++----
>  include/hw/s390x/event-facility.h   | 6 ++----
>  include/hw/s390x/s390_flic.h        | 6 ++----
>  include/hw/s390x/sclp.h             | 6 ++----
>  include/hw/sd/sd.h                  | 6 ++----
>  include/hw/ssi/ssi.h                | 6 ++----
>  include/hw/sysbus.h                 | 6 ++----
>  include/hw/virtio/virtio-gpu.h      | 6 ++----
>  include/hw/virtio/virtio-input.h    | 6 ++----
>  include/hw/virtio/virtio-mem.h      | 6 ++----
>  include/hw/virtio/virtio-pmem.h     | 6 ++----
>  include/hw/virtio/virtio-serial.h   | 6 ++----
>  include/hw/xen/xen-bus.h            | 6 ++----
>  include/io/channel.h                | 6 ++----
>  include/io/dns-resolver.h           | 6 ++----
>  include/io/net-listener.h           | 6 ++----
>  include/scsi/pr-manager.h           | 6 ++----
>  include/sysemu/cryptodev.h          | 6 ++----
>  include/sysemu/hostmem.h            | 6 ++----
>  include/sysemu/rng.h                | 6 ++----
>  include/sysemu/tpm_backend.h        | 6 ++----
>  include/sysemu/vhost-user-backend.h | 6 ++----
>  target/alpha/cpu-qom.h              | 6 ++----
>  target/arm/cpu-qom.h                | 6 ++----
>  target/avr/cpu-qom.h                | 6 ++----
>  target/cris/cpu-qom.h               | 6 ++----
>  target/hppa/cpu-qom.h               | 6 ++----
>  target/i386/cpu-qom.h               | 6 ++----
>  target/lm32/cpu-qom.h               | 6 ++----
>  target/m68k/cpu-qom.h               | 6 ++----
>  target/microblaze/cpu-qom.h         | 6 ++----
>  target/mips/cpu-qom.h               | 6 ++----
>  target/moxie/cpu.h                  | 6 ++----
>  target/nios2/cpu.h                  | 6 ++----
>  target/openrisc/cpu.h               | 6 ++----
>  target/ppc/cpu-qom.h                | 6 ++----
>  target/riscv/cpu.h                  | 6 ++----
>  target/s390x/cpu-qom.h              | 6 ++----
>  target/sh4/cpu-qom.h                | 6 ++----
>  target/sparc/cpu-qom.h              | 6 ++----
>  target/tilegx/cpu.h                 | 6 ++----
>  target/tricore/cpu-qom.h            | 6 ++----
>  target/unicore32/cpu-qom.h          | 6 ++----
>  target/xtensa/cpu-qom.h             | 6 ++----
>  backends/dbus-vmstate.c             | 6 ++----
>  ui/input-barrier.c                  | 6 ++----
>  ui/input-linux.c                    | 6 ++----
>  74 files changed, 148 insertions(+), 296 deletions(-)


Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]