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

Guanrui Huang posted 2 patches 1 year, 9 months ago
drivers/irqchip/irq-gic-v3-its.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
[PATCH v5 0/2] irqchip/gic-v3-its: Fix double free on error
Posted by Guanrui Huang 1 year, 9 months ago
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(-)

-- 
2.36.1
Re: [PATCH v5 0/2] irqchip/gic-v3-its: Fix double free on error
Posted by Marc Zyngier 1 year, 9 months ago
On Thu, 18 Apr 2024 07:10:51 +0100,
Guanrui Huang <guanrui.huang@linux.alibaba.com> 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.