[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast



> -----Original Message-----
> From: Philippe Mathieu-Daudé <philippe.mathieu.daude@xxxxxxxxx> On Behalf Of 
> Philippe Mathieu-Daudé
> Sent: 12 April 2020 22:10
> To: qemu-devel@xxxxxxxxxx
> Cc: Richard Henderson <rth@xxxxxxxxxxx>; Halil Pasic <pasic@xxxxxxxxxxxxx>; 
> Peter Chubb
> <peter.chubb@xxxxxxxxxxxx>; Cédric Le Goater <clg@xxxxxxxx>; David Gibson
> <david@xxxxxxxxxxxxxxxxxxxxx>; Eduardo Habkost <ehabkost@xxxxxxxxxx>; Anthony 
> Perard
> <anthony.perard@xxxxxxxxxx>; BALATON Zoltan <balaton@xxxxxxxxxx>; 
> xen-devel@xxxxxxxxxxxxxxxxxxxx;
> Aleksandar Markovic <aleksandar.qemu.devel@xxxxxxxxx>; qemu-block@xxxxxxxxxx; 
> Corey Minyard
> <minyard@xxxxxxx>; Daniel P. Berrangé <berrange@xxxxxxxxxx>; Christian 
> Borntraeger
> <borntraeger@xxxxxxxxxx>; Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>; Stefano 
> Stabellini
> <sstabellini@xxxxxxxxxx>; Mark Cave-Ayland <mark.cave-ayland@xxxxxxxxxxxx>; 
> qemu-arm@xxxxxxxxxx; qemu-
> ppc@xxxxxxxxxx; Jason Wang <jasowang@xxxxxxxxxx>; Markus Armbruster 
> <armbru@xxxxxxxxxx>; qemu-
> s390x@xxxxxxxxxx; Dr. David Alan Gilbert <dgilbert@xxxxxxxxxx>; Joel Stanley 
> <joel@xxxxxxxxx>; David
> Hildenbrand <david@xxxxxxxxxx>; Aurelien Jarno <aurelien@xxxxxxxxxxx>; 
> Laurent Vivier
> <laurent@xxxxxxxxx>; Peter Maydell <peter.maydell@xxxxxxxxxx>; Cornelia Huck 
> <cohuck@xxxxxxxxxx>;
> Paolo Bonzini <pbonzini@xxxxxxxxxx>; Andrew Jeffery <andrew@xxxxxxxx>; John 
> Snow <jsnow@xxxxxxxxxx>;
> Edgar E. Iglesias <edgar.iglesias@xxxxxxxxx>; Gerd Hoffmann 
> <kraxel@xxxxxxxxxx>; Paul Durrant
> <paul@xxxxxxx>; Philippe Mathieu-Daudé <f4bug@xxxxxxxxx>
> Subject: [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast
> 
> The DEVICE() macro is defined as:
> 
>   #define DEVICE(obj) OBJECT_CHECK(DeviceState, (obj), TYPE_DEVICE)
> 
> Remove unnecessary DEVICE() casts.
> 
> Patch created mechanically using spatch with this script:
> 
>   @@
>   typedef DeviceState;
>   DeviceState *s;
>   @@
>   -   DEVICE(s)
>   +   s
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@xxxxxxxxx>

Xen part...

Acked-by: Paul Durrant <paul@xxxxxxx>






 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.