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 <[email protected]> > > Signed-off-by: Eduardo Habkost <[email protected]> > > --- > > This is an alternative to the patches submitted at > > https://lore.kernel.org/qemu-devel/[email protected]/ > > https://lore.kernel.org/qemu-devel/[email protected]/ > > --- > > 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
