commit | 8844aad89ed61545b4db6a3467e1b21ca1c49460 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Mon Jun 30 16:24:44 2014 -0600 |
committer | Thomas Gleixner <tglx@linutronix.de> | Sat Jul 05 21:42:08 2014 +0200 |
tree | 8517cee7ee48747ed7448eb14bfe81634695cca4 | |
parent | 4f4366033945419b0c52118c29d3057d7c558765 [diff] |
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: 7b6ef1262549f6afc5c881aaef80beb8fd15f908 Signed-off-by: Keith Busch <keith.busch@intel.com> Acked-by: David Rientjes <rientjes@google.com> Link: http://lkml.kernel.org/r/1404167084-8070-1-git-send-email-keith.busch@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>