[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>