[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 06/12] [automated] Split QOM "typedef struct T { ...
From: |
Cornelia Huck |
Subject: |
Re: [PATCH for-6.2 06/12] [automated] Split QOM "typedef struct T { ... } T" declarations |
Date: |
Tue, 10 Aug 2021 08:08:43 +0200 |
User-agent: |
Notmuch/0.32.1 (https://notmuchmail.org) |
On Fri, Aug 06 2021, Eduardo Habkost <ehabkost@redhat.com> wrote:
> Automatically split struct definition and typedef declaration in
> separate declarations, using a codeconverter rule. The rule will
> only touch declarations of structs/typedefs actually used by QOM
> types.
>
> This will make automated changes to use OBJECT_DECLARE* macros
> easier to implement, because automated removal of typedef lines
> will be easier and safer.
>
> Generated using:
>
> $ ./scripts/codeconverter/converter.py -i \
> --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Patrick Venture <venture@google.com>
> Cc: Thomas Huth <huth@tuxfamily.org>
> Cc: Keith Busch <kbusch@kernel.org>
> Cc: Klaus Jensen <its@irrelevant.dk>
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: Cornelia Huck <cohuck@redhat.com>
> Cc: Halil Pasic <pasic@linux.ibm.com>
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: Richard Henderson <richard.henderson@linaro.org>
> Cc: David Hildenbrand <david@redhat.com>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Havard Skinnemoen <hskinnemoen@google.com>
> Cc: Tyrone Ting <kfting@nuvoton.com>
> Cc: Alistair Francis <Alistair.Francis@wdc.com>
> Cc: Bin Meng <bin.meng@windriver.com>
> Cc: Palmer Dabbelt <palmer@dabbelt.com>
> Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
> Cc: Peter Maydell <peter.maydell@linaro.org>
> Cc: Andrew Baumann <Andrew.Baumann@microsoft.com>
> Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
> Cc: "Cédric Le Goater" <clg@kaod.org>
> Cc: David Gibson <david@gibson.dropbear.id.au>
> Cc: Greg Kurz <groug@kaod.org>
> Cc: Laurent Vivier <lvivier@redhat.com>
> Cc: qemu-devel@nongnu.org
> Cc: qemu-block@nongnu.org
> Cc: qemu-s390x@nongnu.org
> Cc: qemu-arm@nongnu.org
> Cc: qemu-riscv@nongnu.org
> Cc: qemu-ppc@nongnu.org
> ---
> hw/nvme/nvme.h | 10 ++++++----
> hw/usb/hcd-uhci.h | 5 +++--
> hw/usb/u2f.h | 5 +++--
> include/hw/adc/npcm7xx_adc.h | 5 +++--
> include/hw/arm/npcm7xx.h | 10 ++++++----
> include/hw/core/accel-cpu.h | 5 +++--
> include/hw/dma/sifive_pdma.h | 5 +++--
> include/hw/dma/xlnx_csu_dma.h | 5 +++--
> include/hw/gpio/npcm7xx_gpio.h | 5 +++--
> include/hw/i2c/npcm7xx_smbus.h | 5 +++--
> include/hw/mem/npcm7xx_mc.h | 5 +++--
> include/hw/misc/bcm2835_cprman.h | 20 ++++++++++++--------
> include/hw/misc/mchp_pfsoc_dmc.h | 10 ++++++----
> include/hw/misc/mchp_pfsoc_ioscb.h | 5 +++--
> include/hw/misc/mchp_pfsoc_sysreg.h | 5 +++--
> include/hw/misc/npcm7xx_clk.h | 15 +++++++++------
> include/hw/misc/npcm7xx_gcr.h | 5 +++--
> include/hw/misc/npcm7xx_mft.h | 5 +++--
> include/hw/misc/npcm7xx_rng.h | 5 +++--
> include/hw/nvram/npcm7xx_otp.h | 5 +++--
> include/hw/riscv/microchip_pfsoc.h | 10 ++++++----
> include/hw/riscv/sifive_e.h | 5 +++--
> include/hw/sd/cadence_sdhci.h | 5 +++--
> include/qemu/accel.h | 10 ++++++----
> chardev/char-parallel.c | 10 ++++++----
> hw/i2c/i2c_mux_pca954x.c | 5 +++--
> hw/m68k/mcf5206.c | 5 +++--
> hw/misc/sbsa_ec.c | 5 +++--
> hw/s390x/vhost-user-fs-ccw.c | 5 +++--
> tests/qtest/pnv-xscom-test.c | 5 +++--
> 30 files changed, 123 insertions(+), 82 deletions(-)
Acked-by: Cornelia Huck <cohuck@redhat.com>
- Re: [PATCH for-6.2 02/12] qom: Use DEVICE_*CLASS instead of OBJECT_*CLASS, (continued)
- [PATCH for-6.2 03/12] scripts/codeconverter: Update to latest version, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 04/12] [automated] Add struct names to typedefs used by QOM types, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 05/12] [automated] Move QOM typedefs and add missing includes, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 06/12] [automated] Split QOM "typedef struct T { ... } T" declarations, Eduardo Habkost, 2021/08/06
- Re: [PATCH for-6.2 06/12] [automated] Split QOM "typedef struct T { ... } T" declarations,
Cornelia Huck <=
- [PATCH for-6.2 08/12] npcm7xx_clk: Use DECLARE_INSTANCE_CHECKER, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 09/12] npcm7xx_otp: Use DECLARE_CLASS_CHECKERS, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 10/12] [automated] Use DECLARE_OBJ_CHECKERS when possible, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 07/12] [automated] Use DECLARE_*CHECKER* macros when possible, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 11/12] [automated] Use OBJECT_DECLARE_TYPE when possible, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 12/12] [automated] Use OBJECT_DECLARE_SIMPLE_TYPE when possible, Eduardo Habkost, 2021/08/06