From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH V1 05/12] spmi: pmic-arb: fix memory allocation for mapping_table Date: Thu, 27 Jul 2017 17:01:58 -0700 Message-ID: <20170728000158.GW2146@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:52988 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbdG1AB7 (ORCPT ); Thu, 27 Jul 2017 20:01:59 -0400 Content-Disposition: inline In-Reply-To: <20170727234907.GT2146@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Kiran Gunda Cc: gregkh@linuxfoundation.org, Abhijeet Dharmapurikar , David Collins , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org On 07/27, 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? > Otherwise it has my Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project