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 <[email protected]>
> ---
> Cc: "Marc-André Lureau" <[email protected]>
> Cc: Paolo Bonzini <[email protected]>
> Cc: Thomas Huth <[email protected]>
> Cc: Havard Skinnemoen <[email protected]>
> Cc: Tyrone Ting <[email protected]>
> Cc: Vijai Kumar K <[email protected]>
> Cc: Bastian Koppelmann <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>  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é <[email protected]>

Reply via email to