On 05.08.2024 15:01:58, Simon Horman wrote: > It appears that the irq requested in m_can_open() may be leaked > if an error subsequently occurs: if m_can_start() fails. > > Address this by calling free_irq in the unwind path for > such cases. > > Flagged by Smatch. > Compile tested only. > > Fixes: eaacfeaca7ad ("can: m_can: Call the RAM init directly from m_can_chip_config") > Acked-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> > Signed-off-by: Simon Horman <horms@xxxxxxxxxx> Applied ti linux-can. Thanks, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature