[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast
From: |
Paul Durrant |
Subject: |
RE: [PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast |
Date: |
Tue, 14 Apr 2020 08:14:18 +0100 |
> -----Original Message-----
> From: Philippe Mathieu-Daudé <address@hidden> On Behalf Of Philippe
> Mathieu-Daudé
> Sent: 12 April 2020 22:10
> To: address@hidden
> Cc: Richard Henderson <address@hidden>; Halil Pasic <address@hidden>; Peter
> Chubb
> <address@hidden>; Cédric Le Goater <address@hidden>; David Gibson
> <address@hidden>; Eduardo Habkost <address@hidden>; Anthony Perard
> <address@hidden>; BALATON Zoltan <address@hidden>; address@hidden;
> Aleksandar Markovic <address@hidden>; address@hidden; Corey Minyard
> <address@hidden>; Daniel P. Berrangé <address@hidden>; Christian Borntraeger
> <address@hidden>; Philippe Mathieu-Daudé <address@hidden>; Stefano Stabellini
> <address@hidden>; Mark Cave-Ayland <address@hidden>; address@hidden; qemu-
> address@hidden; Jason Wang <address@hidden>; Markus Armbruster
> <address@hidden>; qemu-
> address@hidden; Dr. David Alan Gilbert <address@hidden>; Joel Stanley
> <address@hidden>; David
> Hildenbrand <address@hidden>; Aurelien Jarno <address@hidden>; Laurent Vivier
> <address@hidden>; Peter Maydell <address@hidden>; Cornelia Huck
> <address@hidden>;
> Paolo Bonzini <address@hidden>; Andrew Jeffery <address@hidden>; John Snow
> <address@hidden>;
> Edgar E. Iglesias <address@hidden>; Gerd Hoffmann <address@hidden>; Paul
> Durrant
> <address@hidden>; Philippe Mathieu-Daudé <address@hidden>
> 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é <address@hidden>
Xen part...
Acked-by: Paul Durrant <address@hidden>
- [PATCH-for-5.1 1/3] target: Remove unnecessary CPU() cast, (continued)