On Thu, Jun 24, 2021 at 12:38:03PM +0200, Gerd Hoffmann wrote: > Add macros for module info annotations. > > Instead of having that module meta-data stored in lists in util/module.c > place directly in the module source code. > [...] > +/* module implements QOM type <name> */ > +#define module_obj(name) modinfo(obj, name)
Can we make OBJECT_DEFINE_TYPE*() use this macro automatically? -- Eduardo