On 8/6/21 11:11 PM, Eduardo Habkost wrote: > Anonymous structs on QOM typedefs make the code harder to convert > to OBJECT_DEFINE* macros, as the macros expect the struct name to > exist. > > Use a codeconverter rule to automatically add names to the > structs used in QOM typedefs. > > Generated using: > > $ ./scripts/codeconverter/converter.py -i \ > --pattern=AddNamesToTypedefs $(git grep -l '' -- '*.[ch]') > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > Cc: "Marc-André Lureau" <marcandre.lur...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Thomas Huth <h...@tuxfamily.org> > Cc: Havard Skinnemoen <hskinnem...@google.com> > Cc: Tyrone Ting <kft...@nuvoton.com> > Cc: Vijai Kumar K <vi...@behindbytes.com> > Cc: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> > Cc: qemu-devel@nongnu.org > Cc: qemu-...@nongnu.org > Cc: qemu-ri...@nongnu.org > --- > include/hw/adc/npcm7xx_adc.h | 2 +- > include/hw/char/shakti_uart.h | 2 +- > include/hw/tricore/tricore_testdevice.h | 2 +- > chardev/char-parallel.c | 4 ++-- > hw/m68k/mcf5206.c | 2 +- > hw/misc/sbsa_ec.c | 2 +- > 6 files changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>