From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URu3X-0006jz-At for qemu-devel@nongnu.org; Mon, 15 Apr 2013 20:47:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URu3U-0006fa-FL for qemu-devel@nongnu.org; Mon, 15 Apr 2013 20:47:31 -0400 Received: from cantor2.suse.de ([195.135.220.15]:55483 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URu3U-0006fV-9W for qemu-devel@nongnu.org; Mon, 15 Apr 2013 20:47:28 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 16 Apr 2013 02:46:44 +0200 Message-Id: <1366073209-27119-8-git-send-email-afaerber@suse.de> In-Reply-To: <1366073209-27119-1-git-send-email-afaerber@suse.de> References: <1366073209-27119-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 07/12] ioapic: Replace FROM_SYSBUS() with QOM type cast List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= From: Igor Mammedov Signed-off-by: Igor Mammedov Signed-off-by: Andreas F=C3=A4rber --- hw/intc/ioapic_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/ioapic_common.c b/hw/intc/ioapic_common.c index 42c7adc..5c5bb3c 100644 --- a/hw/intc/ioapic_common.c +++ b/hw/intc/ioapic_common.c @@ -59,7 +59,7 @@ static int ioapic_dispatch_post_load(void *opaque, int = version_id) =20 static int ioapic_init_common(SysBusDevice *dev) { - IOAPICCommonState *s =3D FROM_SYSBUS(IOAPICCommonState, dev); + IOAPICCommonState *s =3D IOAPIC_COMMON(dev); IOAPICCommonClass *info; static int ioapic_no; =20 --=20 1.8.1.4