[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/15] spapr: Fix error leak in spapr_realize_vcpu()
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 01/15] spapr: Fix error leak in spapr_realize_vcpu() |
Date: |
Tue, 15 Sep 2020 15:00:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/14/20 2:34 PM, Greg Kurz wrote:
> If spapr_irq_cpu_intc_create() fails, local_err isn't propagated and
> thus leaked.
>
> Fixes: 992861fb1e4c ("error: Eliminate error_propagate() manually")
> Cc: armbru@redhat.com
> Signed-off-by: Greg Kurz <groug@kaod.org>
> ---
> hw/ppc/spapr_cpu_core.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- [PATCH 00/15] spapr: Error handling fixes and cleanups (round 2), Greg Kurz, 2020/09/14
- [PATCH 01/15] spapr: Fix error leak in spapr_realize_vcpu(), Greg Kurz, 2020/09/14
- [PATCH 02/15] ppc: Add a return value to ppc_set_compat() and ppc_set_compat_all(), Greg Kurz, 2020/09/14
- [PATCH 03/15] ppc: Fix return value in cpu_post_load() error path, Greg Kurz, 2020/09/14
- [PATCH 08/15] spapr: Add a return value to spapr_drc_attach(), Greg Kurz, 2020/09/14
- [PATCH 04/15] spapr: Simplify error handling in callers of ppc_set_compat(), Greg Kurz, 2020/09/14