[PATCH] irqchip/irq-mvebu-gicp: allocate enough memory for spi_bitmap

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jun 30 01:10:00 PDT 2017


Hello,

On Fri, 30 Jun 2017 11:00:49 +0300, Dan Carpenter wrote:
> 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")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Indeed:

Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Thanks for spotting the mistake.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list