mei: me: release irq in mei_me_pci_resume error path
Subsystems (2)
The mei_me_pci_resume doesn't release irq on the error path, in case mei_start() fails.
--- drivers/misc/mei/pci-me.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/misc/mei/pci-me.c +3 -1
@@ -385,8 +385,10 @@ static int mei_me_pci_resume(struct device *device) } err =mei_restart (dev); -if (err) +if (err) { +free_irq (pdev->irq, dev);return err; + }/* Start timer if stopped in suspend */ schedule_delayed_work (&dev->timer_work,HZ );
Signature · 1 line
2.45.0
Greg Kroah-Hartman
maintainerQuoted 7 lines · Tomas Winkler
The
mei_me_pci_resumedoesn't release irq on the error path, in casemei_start()fails.Signed-off-by Tomas Winkler <[email protected]>--- drivers/misc/mei/pci-me.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
What commit does this fix?
thanks,
greg k-h
Quoted 11 lines · Tomas Winkler
Quoted 7 lines
The
mei_me_pci_resumedoesn't release irq on the error path, in casemei_start()fails.Signed-off-by Tomas Winkler <[email protected]>--- drivers/misc/mei/pci-me.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)What commit does this fix?
I would say 33ec0826314734fc4f3c9bf37 , kernel version 3.13, it's very old. I can respin with the comment, if you wish.
Thanks
Tomas
Greg Kroah-Hartman
maintainerQuoted 5 lines · Tomas
Quoted 5 lines · Tomas Winkler
Quoted 3 lines
The
mei_me_pci_resumedoesn't release irq on the error path, in casemei_start()fails.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Signed-off-by Tomas Winkler <[email protected]>--- drivers/misc/mei/pci-me.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)What commit does this fix?
I would say
33ec0826314734fc4f3c9bf37, kernel version 3.13, it's very old. I can respin with the comment, if you wish.
As it's a memory-leak fix, that would be good, thanks.
greg k-h