qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 52/74] rx: Rename QOM type check macros


From: Peter Maydell
Subject: Re: [PATCH v3 52/74] rx: Rename QOM type check macros
Date: Mon, 31 Aug 2020 19:48:19 +0100

On Tue, 25 Aug 2020 at 20:46, Eduardo Habkost <ehabkost@redhat.com> wrote:
>
> Currently we have a RXCPU typedef and a RXCPU type checking
> macro, but OBJECT_DECLARE* would transform the RXCPU macro into a
> function, and the function name would conflict with the typedef
> name.
>
> Rename the RXCPU* QOM type check macros to RX_CPU*, so we will
> avoid the conflict and make the macro names consistent with the
> TYPE_RX_CPU constant name.
>
> This will make future conversion to OBJECT_DECLARE* easier.
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]