On Fri, Aug 06 2021, Eduardo Habkost <ehabk...@redhat.com> wrote: > Converting existing QOM types to OBJECT_DECLARE_TYPE is not > always trivial (due to inconsistent type/macro naming schemes), > but at least converting existing manual QOM type checking macros > to use DECLARE_*CHECKER* is a simpler process, and should at > least discourage people from defining new QOM type checker macros > manually. > > Generated using: > > $ ./scripts/codeconverter/converter.py -i \ > --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > Cc: "Marc-André Lureau" <marcandre.lur...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Patrick Venture <vent...@google.com> > Cc: Thomas Huth <h...@tuxfamily.org> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Igor Mammedov <imamm...@redhat.com> > Cc: Alexander Bulekov <alx...@bu.edu> > Cc: Bandan Das <b...@redhat.com> > Cc: Stefan Hajnoczi <stefa...@redhat.com> > Cc: Keith Busch <kbu...@kernel.org> > Cc: Klaus Jensen <i...@irrelevant.dk> > Cc: Cornelia Huck <coh...@redhat.com> > Cc: Halil Pasic <pa...@linux.ibm.com> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: Richard Henderson <richard.hender...@linaro.org> > Cc: David Hildenbrand <da...@redhat.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Havard Skinnemoen <hskinnem...@google.com> > Cc: Tyrone Ting <kft...@nuvoton.com> > Cc: Vijai Kumar K <vi...@behindbytes.com> > Cc: Alistair Francis <alistair.fran...@wdc.com> > Cc: Bin Meng <bin.m...@windriver.com> > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Cc: "Edgar E. Iglesias" <edgar.igles...@gmail.com> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: Laurent Vivier <laur...@vivier.eu> > Cc: "Cédric Le Goater" <c...@kaod.org> > Cc: Andrew Jeffery <and...@aj.id.au> > Cc: Joel Stanley <j...@jms.id.au> > Cc: Jason Wang <jasow...@redhat.com> > Cc: Vikram Garhwal <fnu.vik...@xilinx.com> > Cc: Francisco Iglesias <francisco.igles...@xilinx.com> > Cc: David Gibson <da...@gibson.dropbear.id.au> > Cc: Greg Kurz <gr...@kaod.org> > Cc: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> > Cc: Taylor Simpson <tsimp...@quicinc.com> > Cc: qemu-devel@nongnu.org > Cc: qemu-bl...@nongnu.org > Cc: qemu-s3...@nongnu.org > Cc: qemu-...@nongnu.org > Cc: qemu-ri...@nongnu.org > Cc: qemu-...@nongnu.org > --- > hw/nvme/nvme.h | 12 ++++++------ > hw/usb/hcd-xhci-pci.h | 4 ++-- > hw/usb/hcd-xhci-sysbus.h | 4 ++-- > hw/usb/u2f.h | 8 ++------ > include/hw/adc/npcm7xx_adc.h | 4 ++-- > include/hw/arm/npcm7xx.h | 15 ++++----------- > include/hw/char/shakti_uart.h | 4 ++-- > include/hw/dma/sifive_pdma.h | 4 ++-- > include/hw/dma/xlnx_csu_dma.h | 4 ++-- > include/hw/gpio/npcm7xx_gpio.h | 4 ++-- > include/hw/i2c/npcm7xx_smbus.h | 4 ++-- > include/hw/intc/m68k_irqc.h | 4 ++-- > include/hw/intc/sifive_clint.h | 4 ++-- > include/hw/mem/npcm7xx_mc.h | 3 ++- > include/hw/misc/aspeed_lpc.h | 3 ++- > include/hw/misc/mchp_pfsoc_dmc.h | 10 ++++------ > include/hw/misc/mchp_pfsoc_ioscb.h | 4 ++-- > include/hw/misc/mchp_pfsoc_sysreg.h | 5 ++--- > include/hw/misc/npcm7xx_clk.h | 3 ++- > include/hw/misc/npcm7xx_gcr.h | 3 ++- > include/hw/misc/npcm7xx_mft.h | 4 ++-- > include/hw/misc/npcm7xx_pwm.h | 4 ++-- > include/hw/misc/npcm7xx_rng.h | 3 ++- > include/hw/misc/xlnx-versal-xramc.h | 4 ++-- > include/hw/net/npcm7xx_emc.h | 4 ++-- > include/hw/net/xlnx-zynqmp-can.h | 4 ++-- > include/hw/nvram/npcm7xx_otp.h | 3 ++- > include/hw/ppc/spapr_drc.h | 13 ++++--------- > include/hw/ppc/spapr_xive.h | 7 ++----- > include/hw/riscv/microchip_pfsoc.h | 9 ++++----- > include/hw/riscv/shakti_c.h | 8 ++++---- > include/hw/riscv/sifive_e.h | 8 ++++---- > include/hw/riscv/sifive_u.h | 8 ++++---- > include/hw/sd/cadence_sdhci.h | 4 ++-- > include/hw/ssi/npcm7xx_fiu.h | 3 ++- > include/hw/ssi/sifive_spi.h | 3 ++- > include/hw/timer/npcm7xx_timer.h | 4 ++-- > include/hw/tricore/tricore_testdevice.h | 4 ++-- > include/hw/usb/hcd-dwc3.h | 4 ++-- > include/hw/usb/xlnx-usb-subsystem.h | 4 ++-- > include/hw/usb/xlnx-versal-usb2-ctrl-regs.h | 4 ++-- > include/hw/watchdog/sbsa_gwdt.h | 4 ++-- > include/qemu/accel.h | 8 ++------ > target/hexagon/cpu.h | 8 ++------ > chardev/char-parallel.c | 6 ++---- > hw/i2c/i2c_mux_pca954x.c | 4 ++-- > hw/m68k/mcf5206.c | 3 ++- > hw/mem/sparse-mem.c | 3 ++- > hw/misc/sbsa_ec.c | 3 ++- > hw/s390x/vhost-user-fs-ccw.c | 4 ++-- > hw/sensor/adm1272.c | 3 ++- > hw/sensor/max34451.c | 3 ++- > hw/usb/u2f-emulated.c | 4 ++-- > hw/usb/u2f-passthru.c | 4 ++-- > 54 files changed, 126 insertions(+), 146 deletions(-)
Acked-by: Cornelia Huck <coh...@redhat.com>