From: Markus Armbruster <armbru@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: peter.huangpeng@huawei.com, arei.gonglei@huawei.com,
qemu-stable <qemu-stable@nongnu.org>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 1/3] uhci: fix segfault when hot-unplugging uhci controller
Date: Wed, 18 Mar 2015 08:35:49 +0100 [thread overview]
Message-ID: <871tkmiwq2.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <1426662159.32192.4.camel@nilsson.home.kraxel.org> (Gerd Hoffmann's message of "Wed, 18 Mar 2015 08:02:39 +0100")
Gerd Hoffmann <kraxel@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 %-}
next prev parent reply other threads:[~2015-03-18 7:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 1:49 [Qemu-devel] [PATCH v3 0/3] usb: fix segfault when hot-unplugging usb host adapter arei.gonglei
2015-03-18 1:49 ` [Qemu-devel] [PATCH v3 1/3] uhci: fix segfault when hot-unplugging uhci controller arei.gonglei
2015-03-18 7:02 ` Gerd Hoffmann
2015-03-18 7:21 ` Gonglei
2015-03-18 7:35 ` Markus Armbruster [this message]
2015-03-18 7:55 ` Gonglei
2015-03-18 1:49 ` [Qemu-devel] [PATCH v3 2/3] ehci: fix segfault when hot-unplugging ehci controller arei.gonglei
2015-03-18 8:23 ` Gerd Hoffmann
2015-03-18 9:06 ` Gonglei
2015-03-18 1:49 ` [Qemu-devel] [PATCH v3 3/3] ohci: fix resource cleanup leak arei.gonglei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871tkmiwq2.fsf@blackfin.pond.sub.org \
--to=armbru@redhat.com \
--cc=arei.gonglei@huawei.com \
--cc=kraxel@redhat.com \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.