[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] icc_bus: rename ICC_BRIGDE to ICC_BRIDGE
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH] icc_bus: rename ICC_BRIGDE to ICC_BRIDGE |
Date: |
Mon, 3 Nov 2014 12:01:34 +0100 |
On Mon, 3 Nov 2014 13:51:34 +0800
Zhu Guihua <address@hidden> wrote:
Better subj. would be:
icc_bus: fix typo ICC_BRIGDE -> ICC_BRIDGE
> Rename ICC_BRIGDE for better readability.
>
> Signed-off-by: Zhu Guihua <address@hidden>
> ---
> hw/cpu/icc_bus.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/cpu/icc_bus.c b/hw/cpu/icc_bus.c
> index 9575fd6..6646ea2 100644
> --- a/hw/cpu/icc_bus.c
> +++ b/hw/cpu/icc_bus.c
> @@ -73,11 +73,11 @@ typedef struct ICCBridgeState {
> MemoryRegion apic_container;
> } ICCBridgeState;
>
> -#define ICC_BRIGDE(obj) OBJECT_CHECK(ICCBridgeState, (obj),
> TYPE_ICC_BRIDGE) +#define ICC_BRIDGE(obj)
> OBJECT_CHECK(ICCBridgeState, (obj), TYPE_ICC_BRIDGE)
> static void icc_bridge_init(Object *obj)
> {
> - ICCBridgeState *s = ICC_BRIGDE(obj);
> + ICCBridgeState *s = ICC_BRIDGE(obj);
> SysBusDevice *sb = SYS_BUS_DEVICE(obj);
>
> qbus_create_inplace(&s->icc_bus, sizeof(s->icc_bus),
> TYPE_ICC_BUS,
with above
Reviewed-by: Igor Mammedov <address@hidden>