Messages in this thread | | | Date | Mon, 7 Jun 2021 08:22:55 +0200 | From | Miquel Raynal <> | Subject | Re: [PATCH -next v2] i3c: master: svc: drop free_irq of devm_request_irq allocated irq |
| |
Hello,
Yang Yingliang <yangyingliang@huawei.com> wrote on Wed, 2 Jun 2021 16:49:35 +0800:
> irq allocated with devm_request_irq() will be freed in devm_irq_release(), > using free_irq() in ->remove() will causes a dangling pointer, and a > subsequent double free. So remove the free_irq() in svc_i3c_master_remove(). > > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Thanks, Miquèl
| |