Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751622AbdG1Fc4 (ORCPT ); Fri, 28 Jul 2017 01:32:56 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60796 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750935AbdG1Fcy (ORCPT ); Fri, 28 Jul 2017 01:32:54 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 28 Jul 2017 11:02:53 +0530 From: kgunda@codeaurora.org To: Stephen Boyd Cc: gregkh@linuxfoundation.org, Abhijeet Dharmapurikar , David Collins , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCH V1 05/12] spmi: pmic-arb: fix memory allocation for mapping_table In-Reply-To: <20170727234907.GT2146@codeaurora.org> References: <1500535910-28705-1-git-send-email-kgunda@codeaurora.org> <1500535910-28705-6-git-send-email-kgunda@codeaurora.org> <20170727234907.GT2146@codeaurora.org> Message-ID: <1dcc6b54b2fa27b72db8f4b981e846b8@codeaurora.org> User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 488 Lines: 15 On 2017-07-28 05:19, Stephen Boyd wrote: > On 07/20, Kiran Gunda wrote: >> Allocate the correct memory size (max_pmic_peripherals) for the >> mapping_table that holds the apid to ppid mapping. Also use a local >> variable for mapping_table for better alignment of the code. >> >> Signed-off-by: Kiran Gunda > > This needs a > > Fixes: 987a9f128b8a ("spmi: pmic-arb: Support more than 128 > peripherals") > > right? Yes. I will keep the tag and send it again.