From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Date: Mon, 14 Jan 2019 10:12:07 +0000 Subject: Re: powerpc/powernv/npu: Allocate enough memory in pnv_try_setup_npu_table_group() Message-Id: <43dTm76tdhz9sDB@ozlabs.org> List-Id: In-Reply-To: <20190109102328.GB5476@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter , Benjamin Herrenschmidt , Alexey Kardashevskiy Cc: Alistair Popple , Mark Hairgrove , kernel-janitors@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org On Wed, 2019-01-09 at 10:23:29 UTC, Dan Carpenter wrote: > There is a typo so we accidentally allocate enough memory for a pointer > when we wanted to allocate enough for a struct. > > Fixes: 0bd971676e68 ("powerpc/powernv/npu: Add compound IOMMU groups") > Signed-off-by: Dan Carpenter > Reviewed-by: Alexey Kardashevskiy > Acked-by: Balbir Singh Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/d7b6cc199b2dea602b4a2a681cf6d322 cheers