Re: [PATCH] irqchip/irq-mvebu-gicp: allocate enough memory for spi_bitmap
From: Thomas Petazzoni
Date: Fri Jun 30 2017 - 04:10:22 EST
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@xxxxxxxxxx>
Indeed:
Acked-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
Thanks for spotting the mistake.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com