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 16:49:07 -0700 Message-ID: <20170727234907.GT2146@codeaurora.org> References: <1500535910-28705-1-git-send-email-kgunda@codeaurora.org> <1500535910-28705-6-git-send-email-kgunda@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1500535910-28705-6-git-send-email-kgunda@codeaurora.org> Sender: linux-kernel-owner@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 List-Id: linux-arm-msm@vger.kernel.org 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? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project