On 2015/3/18 15:35, Markus Armbruster wrote:
> Gerd Hoffmann <kra...@redhat.com> writes:
> 
>>   Hi,
>>
>>> -static void uhci_reset(void *opaque)
>>> +static void uhci_reset(DeviceState *dev)
>>>  {
>>> -    UHCIState *s = opaque;
>>> +    PCIDevice *d = PCI_DEVICE(dev);
>>> +    UHCIState *s = DO_UPCAST(UHCIState, dev, d);
>>
>> Uh, oh, DO_UPCAST() is long deprecated.  There are other instances of
> [...]
> 
> Only 378 instances left in the code %-}
> 
Maybe I can do some cleanup work for 2.4 ;)

Regards,
-Gonglei


Reply via email to