qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 2/2] qom: Use DECLARE_INTERFACE_CHECKER macro


From: Eduardo Habkost
Subject: Re: [PATCH v2 2/2] qom: Use DECLARE_INTERFACE_CHECKER macro
Date: Thu, 17 Sep 2020 13:25:01 -0400

On Thu, Sep 17, 2020 at 09:38:02AM +0200, Cédric Le Goater wrote:
> On 9/17/20 4:49 AM, Eduardo Habkost wrote:
> > Mechanical search/replace to use the new
> > DECLARE_INTERFACE_CHECKER macro instead of manually defining
> > macros using INTERFACE_CHECK.
> > 
> > Acked-by: David Gibson <david@gibson.dropbear.id.au>
> > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> > ---
> > This is an alternative to the patches submitted at
> > 20200916193101.511600-3-ehabkost@redhat.com/">https://lore.kernel.org/qemu-devel/20200916193101.511600-3-ehabkost@redhat.com/
> > 20200916193101.511600-4-ehabkost@redhat.com/">https://lore.kernel.org/qemu-devel/20200916193101.511600-4-ehabkost@redhat.com/
> > ---
> > Changes v1 -> v2:
> > * Build fix: move declarations after typedef
> 
> Would it be possible to move the typedef in the DECLARE_INTERFACE_CHECKER 
> macro ? 

The typedef will be moved later to a OBJECT_DECLARE_INTERFACE
macro, to follow the same pattern as
DECLARE_INTERFACE_CHECKER/OBJECT_DECLARE_TYPE.

-- 
Eduardo




reply via email to

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