Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752059AbdF3IKS (ORCPT ); Fri, 30 Jun 2017 04:10:18 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:57326 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675AbdF3IKM (ORCPT ); Fri, 30 Jun 2017 04:10:12 -0400 Date: Fri, 30 Jun 2017 10:10:00 +0200 From: Thomas Petazzoni To: Dan Carpenter Cc: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] irqchip/irq-mvebu-gicp: allocate enough memory for spi_bitmap Message-ID: <20170630101000.76720e98@windsurf.home> In-Reply-To: <20170630080049.xr7luy5dfqdrfb57@mwanda> References: <20170630080049.xr7luy5dfqdrfb57@mwanda> Organization: Free Electrons X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 543 Lines: 22 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