Skip to content
Commit 8844aad8 authored by Keith Busch's avatar Keith Busch Committed by Thomas Gleixner
Browse files

genirq: Fix memory leak when calling irq_free_hwirqs()

irq_free_hwirqs() always calls irq_free_descs() with a cnt == 0
which makes it a no-op since the interrupt count to free is
decremented in itself.

Fixes: 7b6ef126



Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/1404167084-8070-1-git-send-email-keith.busch@intel.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 4f436603
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment