diff options
author | Shawn Lin | 2016-08-22 16:21:52 +0800 |
---|---|---|
committer | Thomas Gleixner | 2016-08-22 11:22:44 +0200 |
commit | 4396f46c8c628329bd35ee4b84140b8b001a11eb (patch) | |
tree | ce93b8f4ded9dbc28fdea3d41ace33805dcb5618 /kernel/module.c | |
parent | d16c995fe43021c765186bf8b9f7e1cc4b043232 (diff) |
genirq: Fix potential memleak when failing to get irq pm
Obviously we should free action here if irq_chip_pm_get failed.
Fixes: be45beb2df69: "genirq: Add runtime power management support for IRQ chips"
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Cc: Jon Hunter <jonathanh@nvidia.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/1471854112-13006-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions