From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) Date: Fri, 30 Jun 2017 10:10:00 +0200 Subject: [PATCH] irqchip/irq-mvebu-gicp: allocate enough memory for spi_bitmap In-Reply-To: <20170630080049.xr7luy5dfqdrfb57@mwanda> References: <20170630080049.xr7luy5dfqdrfb57@mwanda> Message-ID: <20170630101000.76720e98@windsurf.home> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Indeed: Acked-by: Thomas Petazzoni Thanks for spotting the mistake. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com