[PATCH -next v2] i3c: master: svc: drop free_irq of devm_request_irq allocated irq

Alexandre Belloni alexandre.belloni at bootlin.com
Tue Jun 8 17:03:10 PDT 2021


On Wed, 2 Jun 2021 16:49:35 +0800, Yang Yingliang wrote:
> 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().

Applied, thanks!

[1/1] i3c: master: svc: drop free_irq of devm_request_irq allocated irq
      commit: 59a61e69c4252b4e8ecd15e752b0d2337f0121b7

Best regards,
-- 
Alexandre Belloni <alexandre.belloni at bootlin.com>



More information about the linux-i3c mailing list