Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933407AbcDSRbV (ORCPT ); Tue, 19 Apr 2016 13:31:21 -0400 Received: from foss.arm.com ([217.140.101.70]:41978 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932209AbcDSRbT (ORCPT ); Tue, 19 Apr 2016 13:31:19 -0400 Date: Tue, 19 Apr 2016 18:31:14 +0100 From: Lorenzo Pieralisi To: Daniel Lezcano Cc: Jisheng Zhang , linux@arm.linux.org.uk, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: Re: [PATCH 0/4] ARM: cpuidle: use const and __initconst for cpuidle_ops Message-ID: <20160419173113.GB2939@red-moon> References: <1458657763-2561-1-git-send-email-jszhang@marvell.com> <56F52063.6020002@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56F52063.6020002@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 31 Hi Daniel, On Fri, Mar 25, 2016 at 12:26:27PM +0100, Daniel Lezcano wrote: > On 03/22/2016 03:42 PM, Jisheng Zhang wrote: > >These trivial patches are similar as Masahiro posted in[1]. The main > >purpose is let cpuidle_ops structure be constified and replace > >"__initdata" with "__initconst". > > > >[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-August/365826.html > > > >Jisheng Zhang (4): > > ARM: cpuidle: add const qualifier to cpuidle_ops member in structures > > ARM: cpuidle: constify return value of arm_cpuidle_get_ops() > > soc: qcom: spm: use const and __initconst for qcom_cpuidle_ops > > drivers: firmware: psci: use const and __initconst for > > psci_cpuidle_ops > > > > arch/arm/include/asm/cpuidle.h | 2 +- > > arch/arm/kernel/cpuidle.c | 6 +++--- > > drivers/firmware/psci.c | 2 +- > > drivers/soc/qcom/spm.c | 2 +- > > 4 files changed, 6 insertions(+), 6 deletions(-) > > Sounds reasonable. Are you taking them ? I could send the last one but it would make more sense for them to be part of the same series, I will check they do not conflict with patches queued for PSCI. Thanks, Lorenzo