Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383052

Re: [PATCH 0/4] ARM: cpuidle: use const and __initconst for cpuidle_ops

From Daniel Lezcano <daniel.lezcano@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/4] ARM: cpuidle: use const and __initconst for cpuidle_ops
Date 2016-04-20 07:10 +0200
Message-ID <rpSyK-2vk-9@gated-at.bofh.it> (permalink)
References <rfvN7-5Sf-7@gated-at.bofh.it> <rgy6d-US-5@gated-at.bofh.it> <rpHN0-23A-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 19, 2016 at 06:31:14PM +0100, Lorenzo Pieralisi wrote:
> 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.

Ok, let me know via an acked-by.

Thanks.

  -- Daniel

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 0/4] ARM: cpuidle: use const and __initconst for  cpuidle_ops Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-19 19:40 +0200
  Re: [PATCH 0/4] ARM: cpuidle: use const and __initconst for  cpuidle_ops Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-20 07:10 +0200

csiph-web