|
| From: | Juan Quintela |
| Subject: | Re: [PATCH for-6.2 05/12] [automated] Move QOM typedefs and add missing includes |
| Date: | Tue, 10 Aug 2021 14:01:40 +0200 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Eduardo Habkost <ehabkost@redhat.com> wrote:
> Some typedefs and macros are defined after the type check macros.
> This makes it difficult to automatically replace their
> definitions with OBJECT_DECLARE_TYPE.
>
> Patch generated using:
>
> $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
> $(git grep -l '' -- '*.[ch]')
>
> which will:
> - split "typdef struct { ... } TypedefName" declarations
> - move the typedefs and #defines above the type check macros
> - add missing #include "qom/object.h" lines if necessary
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Just curious, how did my name ended on the CC'd list? I don't see any
file that I touched or that is migration related.
Later, Juan.
| [Prev in Thread] | Current Thread | [Next in Thread] |