Re: [PATCH -next resend] scsi: hisi_sas: drop free_irq of devm_request_irq allocated irq

From: John Garry
Date: Wed May 19 2021 - 09:18:24 EST


On 19/05/2021 14:05, Yang Yingliang wrote:
irq allocated with devm_request_irq should not be freed using
free_irq, because doing so causes a dangling pointer, and a
subsequent double free.

Reported-by: Hulk Robot<hulkci@xxxxxxxxxx>
Signed-off-by: Yang Yingliang<yangyingliang@xxxxxxxxxx>
---

Acked-by: John Garry <john.garry@xxxxxxxxxx>