diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-06-22 11:52:50 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-06-22 14:22:00 +0200 |
commit | cbaf45a6be497c272e80500e4fd9bccdf20d5050 (patch) | |
tree | 534d8bd58961e7b5d6c8511f794b8285f493e2b8 /drivers/irqchip/irq-ts4800.c | |
parent | irqchip/ls-scfg-msi: Fix MSI affinity handling (diff) | |
download | linux-cbaf45a6be497c272e80500e4fd9bccdf20d5050.tar.xz linux-cbaf45a6be497c272e80500e4fd9bccdf20d5050.zip |
irqchip/gic-v2m: Fix SPI release on error path
On failing to allocate the required SPIs, the actual number of interrupts
should be freed and not its log2 value.
Fixes: de337ee30142 ("irqchip/gic-v2m: Add PCI Multi-MSI support")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Yang Yingliang <yangyingliang@huawei.com>
Cc: Sumit Garg <sumit.garg@linaro.org>
Link: https://lkml.kernel.org/r/20180622095254.5906-4-marc.zyngier@arm.com
Diffstat (limited to 'drivers/irqchip/irq-ts4800.c')
0 files changed, 0 insertions, 0 deletions