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 <da...@gibson.dropbear.id.au>
> > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com>
> > ---
> > This is an alternative to the patches submitted at
> > https://lore.kernel.org/qemu-devel/20200916193101.511600-3-ehabk...@redhat.com/
> > https://lore.kernel.org/qemu-devel/20200916193101.511600-4-ehabk...@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