> -----Original Message-----
> From: Eduardo Habkost <[email protected]>
> Sent: 16 September 2020 19:25
> To: [email protected]
> Cc: Paolo Bonzini <[email protected]>; Daniel P. Berrange 
> <[email protected]>; Marc-André Lureau
> <[email protected]>; Gerd Hoffmann <[email protected]>; Michael S. 
> Tsirkin <[email protected]>;
> Peter Maydell <[email protected]>; Corey Minyard 
> <[email protected]>; Cédric Le Goater
> <[email protected]>; David Gibson <[email protected]>; Cornelia Huck 
> <[email protected]>; Thomas
> Huth <[email protected]>; Halil Pasic <[email protected]>; Christian 
> Borntraeger
> <[email protected]>; Philippe Mathieu-Daudé <[email protected]>; Alistair 
> Francis
> <[email protected]>; David Hildenbrand <[email protected]>; Laurent 
> Vivier <[email protected]>;
> Amit Shah <[email protected]>; Stefano Stabellini <[email protected]>; 
> Anthony Perard
> <[email protected]>; Paul Durrant <[email protected]>; Fam Zheng 
> <[email protected]>; Gonglei (Arei)
> <[email protected]>; Igor Mammedov <[email protected]>; Stefan Berger 
> <[email protected]>;
> Richard Henderson <[email protected]>; Michael Rolnik <[email protected]>; 
> Sarah Harris
> <[email protected]>; Edgar E. Iglesias <[email protected]>; 
> Michael Walle
> <[email protected]>; Aleksandar Markovic <[email protected]>; 
> Aurelien Jarno
> <[email protected]>; Jiaxun Yang <[email protected]>; Aleksandar 
> Rikalo
> <[email protected]>; Anthony Green <[email protected]>; Chris 
> Wulff <[email protected]>;
> Marek Vasut <[email protected]>; Stafford Horne <[email protected]>; Palmer 
> Dabbelt <[email protected]>;
> Sagar Karandikar <[email protected]>; Bastian Koppelmann 
> <[email protected]>;
> Yoshinori Sato <[email protected]>; Mark Cave-Ayland 
> <[email protected]>; Artyom
> Tarasenko <[email protected]>; Guan Xuetao <[email protected]>; Max 
> Filippov <[email protected]>;
> [email protected]; [email protected]; [email protected]; 
> [email protected]; xen-
> [email protected]; [email protected]
> Subject: [PATCH 3/5] qom: Remove module_obj_name parameter from 
> OBJECT_DECLARE* macros
> 
> One of the goals of having less boilerplate on QOM declarations
> is to avoid human error.  Requiring an extra argument that is
> never used is an opportunity for mistakes.
> 
> Remove the unused argument from OBJECT_DECLARE_TYPE and
> OBJECT_DECLARE_SIMPLE_TYPE.
> 
> Coccinelle patch used to convert all users of the macros:
> 
>   @@
>   declarer name OBJECT_DECLARE_TYPE;
>   identifier InstanceType, ClassType, lowercase, UPPERCASE;
>   @@
>    OBJECT_DECLARE_TYPE(InstanceType, ClassType,
>   -                    lowercase,
>                        UPPERCASE);
> 
>   @@
>   declarer name OBJECT_DECLARE_SIMPLE_TYPE;
>   identifier InstanceType, lowercase, UPPERCASE;
>   @@
>    OBJECT_DECLARE_SIMPLE_TYPE(InstanceType,
>   -                    lowercase,
>                        UPPERCASE);
> 
> Signed-off-by: Eduardo Habkost <[email protected]>

Acked-by: Paul Durrant <[email protected]>


Reply via email to