Re: [PATCH v5 0/2] irqchip/gic-v3-its: Fix double free on error

From: Marc Zyngier
Date: Thu Apr 18 2024 - 03:19:33 EST


On Thu, 18 Apr 2024 07:10:51 +0100,
Guanrui Huang <guanrui.huang@xxxxxxxxxxxxxxxxx> wrote:
>
> Hello everyone, this is the v5 of the patch to fix double free
> in gic driver.
>
> The differences from the v3 and v4:
> 1. modify description: add "Fixes" in patch 1, as suggested by Markus Elfring.
>
> 2. improve patch granularity: split 'remove BUG_ON' into a secord patch,
> as suggested by Zenghui and Markus Elfring.
>
> 3. modify description: explain why the BUG_ON is useless in patch 2,
> as suggested by Marc Zyngier.
>
> Thanks,
> Guanrui
>
> Guanrui Huang (2):
> irqchip/gic-v3-its: Fix double free on error
> irqchip/gic-v3-its: remove BUG_ON in its_vpe_irq_domain_alloc
>
> drivers/irqchip/irq-gic-v3-its.c | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
>

Thomas, can you please take this in for 6.10?

Thanks,

M.

--
Without deviation from the norm, progress is not possible.