diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-06-30 11:00:49 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-06-30 15:32:46 +0100 |
commit | 478a2db82863db9f1c135111e78298e6ed5022f3 (patch) | |
tree | 30cd3bf6ccc129ecf27d50379a2ff476a27a3259 /drivers/char | |
parent | 866d7c1b0a3c70387646c4e455e727a58c5d465a (diff) | |
download | linux-stable-478a2db82863db9f1c135111e78298e6ed5022f3.tar.gz linux-stable-478a2db82863db9f1c135111e78298e6ed5022f3.tar.bz2 linux-stable-478a2db82863db9f1c135111e78298e6ed5022f3.zip |
irqchip/irq-mvebu-gicp: Allocate enough memory for spi_bitmap
BITS_TO_LONGS() gives us the number of longs we need, but we want to
allocate the number of bytes.
Fixes: a68a63cb4dfc ("irqchip/irq-mvebu-gicp: Add new driver for Marvell GICP")
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions