[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 66/74] [automated] Use DECLARE_*CHECKER* macros
From: |
Juan Quintela |
Subject: |
Re: [PATCH v3 66/74] [automated] Use DECLARE_*CHECKER* macros |
Date: |
Wed, 26 Aug 2020 10:08:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eduardo Habkost <ehabkost@redhat.com> wrote:
> $ ./scripts/codeconverter/converter.py -i \
> --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]')
>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Changes v2 -> v3:
> * Removed hunks due to rebase conflicts:
> hw/arm/integratorcp.c hw/arm/versatilepb.c hw/sd/pl181.c
> include/hw/ppc/xive.h
> * Reviewed-by line from Daniel was kept, as no additional hunks
> are introduced in this version
[Dropeed CC'd]
...
> diff --git a/migration/rdma.c b/migration/rdma.c
> index e3eac913bc..87cb277d05 100644
> --- a/migration/rdma.c
> +++ b/migration/rdma.c
> @@ -399,8 +399,8 @@ typedef struct RDMAContext {
>
> #define TYPE_QIO_CHANNEL_RDMA "qio-channel-rdma"
> typedef struct QIOChannelRDMA QIOChannelRDMA;
> -#define QIO_CHANNEL_RDMA(obj) \
> - OBJECT_CHECK(QIOChannelRDMA, (obj), TYPE_QIO_CHANNEL_RDMA)
> +DECLARE_INSTANCE_CHECKER(QIOChannelRDMA, QIO_CHANNEL_RDMA,
> + TYPE_QIO_CHANNEL_RDMA)
>
>
>
Reviewed-by: Juan Quintela <quintela@redhat.com>
- [PATCH v3 60/74] codeconverter: script for automating QOM code cleanups, (continued)
- [PATCH v3 60/74] codeconverter: script for automating QOM code cleanups, Eduardo Habkost, 2020/08/25
- [PATCH v3 63/74] [automated] Use TYPE_INFO macro (pass 2), Eduardo Habkost, 2020/08/25
- [PATCH v3 62/74] [automated] Use TYPE_INFO macro, Eduardo Habkost, 2020/08/25
- [PATCH v3 65/74] [automated] Move QOM typedefs and add missing includes (pass 2), Eduardo Habkost, 2020/08/25
- [PATCH v3 67/74] [automated] Use DECLARE_*CHECKER* macros (pass 2), Eduardo Habkost, 2020/08/25
- [PATCH v3 68/74] [semi-automated] Use DECLARE_*CHECKER* when possible (--force mode), Eduardo Habkost, 2020/08/25
- [PATCH v3 66/74] [automated] Use DECLARE_*CHECKER* macros, Eduardo Habkost, 2020/08/25
- Re: [PATCH v3 66/74] [automated] Use DECLARE_*CHECKER* macros,
Juan Quintela <=
- [PATCH v3 64/74] [automated] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/08/25
- [PATCH v3 69/74] [automated] Use OBJECT_DECLARE_TYPE where possible, Eduardo Habkost, 2020/08/25
- [PATCH v3 70/74] [automated] Use OBJECT_DECLARE_TYPE where possible (pass 2), Eduardo Habkost, 2020/08/25
- [PATCH v3 71/74] [automated] Use OBJECT_DECLARE_SIMPLE_TYPE when possible, Eduardo Habkost, 2020/08/25
- [PATCH v3 73/74] crypto: use QOM macros for declaration/definition of secret types, Eduardo Habkost, 2020/08/25
- [PATCH v3 74/74] crypto: use QOM macros for declaration/definition of TLS creds types, Eduardo Habkost, 2020/08/25
- [PATCH v3 72/74] [automated] Remove redundant instance_size/class_size fields, Eduardo Habkost, 2020/08/25
- Re: [PATCH v3 00/74] qom: Automated conversion of type checking boilerplate, Roman Bolshakov, 2020/08/26