From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Nguyen Dinh Phi" <phind.uet@gmail.com>,
"Gonglei (Arei)" <arei.gonglei@huawei.com>,
"Zhenwei Pi" <pizhenwei@bytedance.com>,
"Alberto Garcia" <berto@igalia.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Anthony PERARD" <anthony@xenproject.org>,
"Paul Durrant" <paul@xen.org>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Bernhard Beschow" <shentey@gmail.com>,
"Jason Wang" <jasowang@redhat.com>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Harsh Prateek Bora" <harshpb@linux.ibm.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Helge Deller" <deller@gmx.de>,
"Tyrone Ting" <kfting@nuvoton.com>,
"Hao Wu" <wuhaotsh@google.com>,
"Aditya Gupta" <adityag@linux.ibm.com>,
"Glenn Miles" <milesg@linux.ibm.com>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Weiwei Li" <liwei1518@gmail.com>,
"Daniel Henrique Barboza" <dbarboza@ventanamicro.com>,
"Liu Zhiwei" <zhiwei_liu@linux.alibaba.com>,
"Fam Zheng" <fam@euphon.net>,
"Alex Williamson" <alex@shazbot.org>,
"Cédric Le Goater" <clg@redhat.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Amit Shah" <amit@kernel.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Pavel Pisa" <pisa@cmp.felk.cvut.cz>,
"Francisco Iglesias" <francisco.iglesias@amd.com>,
"Vikram Garhwal" <vikram.garhwal@bytedance.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org,
xen-devel@lists.xenproject.org, qemu-arm@nongnu.org,
qemu-ppc@nongnu.org, qemu-riscv@nongnu.org
Subject: Re: [PATCH] remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE
Date: Thu, 23 Oct 2025 08:55:47 +0200 [thread overview]
Message-ID: <c013adf2-9620-4766-8f5b-1000ed1a494a@linaro.org> (raw)
In-Reply-To: <20251023063429.1400398-1-phind.uet@gmail.com>
On 23/10/25 08:34, Nguyen Dinh Phi wrote:
> When OBJECT_DECLARE_SIMPLE_TYPE is used, it automatically provides
> the typedef, so we don’t have to define it ourselves.
>
> Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
> ---
> backends/cryptodev-lkcf.c | 1 -
> hw/char/ipoctal232.c | 9 ++++-----
> hw/char/xen_console.c | 1 -
> hw/dma/pl330.c | 6 ++----
> hw/net/fsl_etsec/etsec.h | 1 -
> hw/net/xen_nic.c | 2 --
> hw/pci-host/bonito.c | 7 +++----
> hw/ppc/pef.c | 1 -
> hw/usb/dev-mtp.c | 7 +++----
> hw/usb/dev-uas.c | 7 +++----
> include/hw/char/serial.h | 1 -
> include/hw/input/lasips2.h | 6 ++----
> include/hw/misc/auxbus.h | 7 +++----
> include/hw/misc/bcm2835_mphi.h | 7 ++-----
> include/hw/misc/npcm7xx_pwm.h | 7 ++-----
> include/hw/pci-host/pnv_phb3.h | 6 ++----
> include/hw/pci-host/pnv_phb4.h | 8 ++++----
> include/hw/ppc/mac_dbdma.h | 7 +++----
> include/hw/riscv/iommu.h | 3 ---
> include/hw/scsi/scsi.h | 7 +++----
> include/hw/vfio/vfio-container-legacy.h | 5 ++---
> include/hw/virtio/virtio-serial.h | 5 ++---
> include/net/can_emu.h | 7 +++----
> 23 files changed, 43 insertions(+), 75 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
next prev parent reply other threads:[~2025-10-23 6:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-23 6:34 [PATCH] remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE Nguyen Dinh Phi
2025-10-23 6:55 ` Philippe Mathieu-Daudé [this message]
2025-10-27 19:15 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c013adf2-9620-4766-8f5b-1000ed1a494a@linaro.org \
--to=philmd@linaro.org \
--cc=adityag@linux.ibm.com \
--cc=alex@shazbot.org \
--cc=alistair.francis@wdc.com \
--cc=amit@kernel.org \
--cc=anthony@xenproject.org \
--cc=arei.gonglei@huawei.com \
--cc=berto@igalia.com \
--cc=chenhuacai@kernel.org \
--cc=clg@redhat.com \
--cc=dbarboza@ventanamicro.com \
--cc=deller@gmx.de \
--cc=edgar.iglesias@gmail.com \
--cc=fam@euphon.net \
--cc=francisco.iglesias@amd.com \
--cc=harshpb@linux.ibm.com \
--cc=jasowang@redhat.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kfting@nuvoton.com \
--cc=liwei1518@gmail.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=milesg@linux.ibm.com \
--cc=mst@redhat.com \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paul@xen.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=phind.uet@gmail.com \
--cc=pisa@cmp.felk.cvut.cz \
--cc=pizhenwei@bytedance.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=shentey@gmail.com \
--cc=sstabellini@kernel.org \
--cc=vikram.garhwal@bytedance.com \
--cc=wuhaotsh@google.com \
--cc=xen-devel@lists.xenproject.org \
--cc=zhiwei_liu@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).