Re: [Qemu-devel] [PATCH v6 2/4] apic: convert ->busdev.qdev casts to C casts

2015-05-22 Thread Eduardo Habkost
On Wed, May 20, 2015 at 10:40:47AM +0800, Zhu Guihua wrote: > Use C casts to avoid accessing ICCDevice's qdev field > directly. > > Signed-off-by: Zhu Guihua Applied to the x86 tree. Thanks. -- Eduardo

Re: [Qemu-devel] [PATCH v6 2/4] apic: convert ->busdev.qdev casts to C casts

2015-05-20 Thread Andreas Färber
Am 20.05.2015 um 04:40 schrieb Zhu Guihua: > Use C casts to avoid accessing ICCDevice's qdev field > directly. > > Signed-off-by: Zhu Guihua > --- > hw/intc/apic.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Reviewed-by: Andreas Färber Andreas -- SUSE Linux GmbH, Maxfel

Re: [Qemu-devel] [PATCH v6 2/4] apic: convert ->busdev.qdev casts to C casts

2015-05-20 Thread Igor Mammedov
On Wed, 20 May 2015 10:40:47 +0800 Zhu Guihua wrote: > Use C casts to avoid accessing ICCDevice's qdev field > directly. > > Signed-off-by: Zhu Guihua Reviewed-by: Igor Mammedov > --- > hw/intc/apic.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/hw/intc/

[Qemu-devel] [PATCH v6 2/4] apic: convert ->busdev.qdev casts to C casts

2015-05-19 Thread Zhu Guihua
Use C casts to avoid accessing ICCDevice's qdev field directly. Signed-off-by: Zhu Guihua --- hw/intc/apic.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hw/intc/apic.c b/hw/intc/apic.c index 0f97b47..77b639c 100644 --- a/hw/intc/apic.c +++ b/hw/intc/apic.c @@ -37