qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH qemu v3] spapr: Kill SLOF


From: Alexey Kardashevskiy
Subject: Re: [PATCH qemu v3] spapr: Kill SLOF
Date: Wed, 8 Jan 2020 15:27:30 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0


On 08/01/2020 13:30, Alexey Kardashevskiy wrote:

> +
> +uint32_t spapr_of_client_open(SpaprMachineState *spapr, uint32_t phandle)

Ooops, this should have been an address of a path, not a phandle.


> +{
> +    g_assert(spapr->of_instance_last != 0xFFFFFFFF);
> +    ++spapr->of_instance_last;
> +    g_hash_table_insert(spapr->of_instances,
> +                        GINT_TO_POINTER(spapr->of_instance_last),
> +                        GINT_TO_POINTER(phandle));
> +
> +    return spapr->of_instance_last;
> +}


-- 
Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]