[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted |
Date: |
Wed, 7 Mar 2018 15:31:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 06.03.2018 20:45, Paolo Bonzini wrote:
> Unify half a dozen copies of very similar code (the only difference being
> whether comparisons were case-sensitive) and use it also in Tricore,
> which did not do any sorting of CPU model names.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
[...]
> diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c
> index 969f628f0a..c261b6b090 100644
> --- a/target/hppa/cpu.c
> +++ b/target/hppa/cpu.c
> @@ -110,18 +110,6 @@ static void hppa_cpu_realizefn(DeviceState *dev, Error
> **errp)
> #endif
> }
>
> -/* Sort hppabetically by type name. */
Oh, what a pity to see that "hppabetically" go away, that looked like a
really neat search-and-replace bug :-)
Anyway, patch looks fine to me:
Reviewed-by: Thomas Huth <address@hidden>