> -----Original Message----- > From: Philippe Mathieu-Daudé <[email protected]> On Behalf Of > Philippe Mathieu-Daudé > Sent: 12 April 2020 22:10 > To: [email protected] > Cc: Richard Henderson <[email protected]>; Halil Pasic <[email protected]>; > Peter Chubb > <[email protected]>; Cédric Le Goater <[email protected]>; David Gibson > <[email protected]>; Eduardo Habkost <[email protected]>; Anthony > Perard > <[email protected]>; BALATON Zoltan <[email protected]>; > [email protected]; > Aleksandar Markovic <[email protected]>; [email protected]; > Corey Minyard > <[email protected]>; Daniel P. Berrangé <[email protected]>; Christian > Borntraeger > <[email protected]>; Philippe Mathieu-Daudé <[email protected]>; Stefano > Stabellini > <[email protected]>; Mark Cave-Ayland <[email protected]>; > [email protected]; qemu- > [email protected]; Jason Wang <[email protected]>; Markus Armbruster > <[email protected]>; qemu- > [email protected]; Dr. David Alan Gilbert <[email protected]>; Joel Stanley > <[email protected]>; David > Hildenbrand <[email protected]>; Aurelien Jarno <[email protected]>; > Laurent Vivier > <[email protected]>; Peter Maydell <[email protected]>; Cornelia Huck > <[email protected]>; > Paolo Bonzini <[email protected]>; Andrew Jeffery <[email protected]>; John > Snow <[email protected]>; > Edgar E. Iglesias <[email protected]>; Gerd Hoffmann > <[email protected]>; Paul Durrant > <[email protected]>; Philippe Mathieu-Daudé <[email protected]> > 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é <[email protected]>
Xen part... Acked-by: Paul Durrant <[email protected]>
