public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: mvebu: Staticize local variables
@ 2014-05-27 11:37 Sachin Kamat
  2014-05-27 11:51 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Sachin Kamat @ 2014-05-27 11:37 UTC (permalink / raw)
  To: linux-arm-kernel

Symbols local to this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-mvebu/pmsu.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index 53a55c8520bf..950105871480 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -148,7 +148,7 @@ static void armada_370_xp_cpu_resume(void)
 }
 
 /* No locking is needed because we only access per-CPU registers */
-void armada_370_xp_pmsu_idle_prepare(bool deepidle)
+static void armada_370_xp_pmsu_idle_prepare(bool deepidle)
 {
 	unsigned int hw_cpu = cpu_logical_map(smp_processor_id());
 	u32 reg;
@@ -263,7 +263,7 @@ static struct notifier_block armada_370_xp_cpu_pm_notifier = {
 	.notifier_call = armada_370_xp_cpu_pm_notify,
 };
 
-int __init armada_370_xp_cpu_pm_init(void)
+static int __init armada_370_xp_cpu_pm_init(void)
 {
 	struct device_node *np;
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 1/1] ARM: mvebu: Staticize local variables
  2014-05-27 11:37 [PATCH 1/1] ARM: mvebu: Staticize local variables Sachin Kamat
@ 2014-05-27 11:51 ` Thomas Petazzoni
  2014-05-27 11:54   ` Sachin Kamat
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2014-05-27 11:51 UTC (permalink / raw)
  To: linux-arm-kernel

Dear Sachin Kamat,

On Tue, 27 May 2014 17:07:09 +0530, Sachin Kamat wrote:
> Symbols local to this file are made static.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/mach-mvebu/pmsu.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
> index 53a55c8520bf..950105871480 100644
> --- a/arch/arm/mach-mvebu/pmsu.c
> +++ b/arch/arm/mach-mvebu/pmsu.c
> @@ -148,7 +148,7 @@ static void armada_370_xp_cpu_resume(void)
>  }
>  
>  /* No locking is needed because we only access per-CPU registers */
> -void armada_370_xp_pmsu_idle_prepare(bool deepidle)
> +static void armada_370_xp_pmsu_idle_prepare(bool deepidle)

I already submitted a patch for this one yesterday:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/259849.html.

>  {
>  	unsigned int hw_cpu = cpu_logical_map(smp_processor_id());
>  	u32 reg;
> @@ -263,7 +263,7 @@ static struct notifier_block
> armada_370_xp_cpu_pm_notifier = { .notifier_call =
> armada_370_xp_cpu_pm_notify, };
>  
> -int __init armada_370_xp_cpu_pm_init(void)
> +static int __init armada_370_xp_cpu_pm_init(void)

Indeed, this one needs to be fixed.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] ARM: mvebu: Staticize local variables
  2014-05-27 11:51 ` Thomas Petazzoni
@ 2014-05-27 11:54   ` Sachin Kamat
  2014-05-27 12:01     ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Sachin Kamat @ 2014-05-27 11:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Thomas,

On 27 May 2014 17:21, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Sachin Kamat,
>
> On Tue, 27 May 2014 17:07:09 +0530, Sachin Kamat wrote:
>> Symbols local to this file are made static.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>>  arch/arm/mach-mvebu/pmsu.c |    4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
>> index 53a55c8520bf..950105871480 100644
>> --- a/arch/arm/mach-mvebu/pmsu.c
>> +++ b/arch/arm/mach-mvebu/pmsu.c
>> @@ -148,7 +148,7 @@ static void armada_370_xp_cpu_resume(void)
>>  }
>>
>>  /* No locking is needed because we only access per-CPU registers */
>> -void armada_370_xp_pmsu_idle_prepare(bool deepidle)
>> +static void armada_370_xp_pmsu_idle_prepare(bool deepidle)
>
> I already submitted a patch for this one yesterday:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/259849.html.

I missed this. Sorry.

>
>>  {
>>       unsigned int hw_cpu = cpu_logical_map(smp_processor_id());
>>       u32 reg;
>> @@ -263,7 +263,7 @@ static struct notifier_block
>> armada_370_xp_cpu_pm_notifier = { .notifier_call =
>> armada_370_xp_cpu_pm_notify, };
>>
>> -int __init armada_370_xp_cpu_pm_init(void)
>> +static int __init armada_370_xp_cpu_pm_init(void)
>
> Indeed, this one needs to be fixed.

How do you want me to handle this?

-- 
With warm regards,
Sachin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] ARM: mvebu: Staticize local variables
  2014-05-27 11:54   ` Sachin Kamat
@ 2014-05-27 12:01     ` Thomas Petazzoni
  2014-05-27 12:03       ` Sachin Kamat
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2014-05-27 12:01 UTC (permalink / raw)
  To: linux-arm-kernel

Dear Sachin Kamat,

On Tue, 27 May 2014 17:24:10 +0530, Sachin Kamat wrote:

> >>       unsigned int hw_cpu = cpu_logical_map(smp_processor_id());
> >>       u32 reg;
> >> @@ -263,7 +263,7 @@ static struct notifier_block
> >> armada_370_xp_cpu_pm_notifier = { .notifier_call =
> >> armada_370_xp_cpu_pm_notify, };
> >>
> >> -int __init armada_370_xp_cpu_pm_init(void)
> >> +static int __init armada_370_xp_cpu_pm_init(void)
> >
> > Indeed, this one needs to be fixed.
> 
> How do you want me to handle this?

Maybe send a new patch that fixes just that one?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] ARM: mvebu: Staticize local variables
  2014-05-27 12:01     ` Thomas Petazzoni
@ 2014-05-27 12:03       ` Sachin Kamat
  0 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-05-27 12:03 UTC (permalink / raw)
  To: linux-arm-kernel

On 27 May 2014 17:31, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Sachin Kamat,
>
> On Tue, 27 May 2014 17:24:10 +0530, Sachin Kamat wrote:
>
>> >>       unsigned int hw_cpu = cpu_logical_map(smp_processor_id());
>> >>       u32 reg;
>> >> @@ -263,7 +263,7 @@ static struct notifier_block
>> >> armada_370_xp_cpu_pm_notifier = { .notifier_call =
>> >> armada_370_xp_cpu_pm_notify, };
>> >>
>> >> -int __init armada_370_xp_cpu_pm_init(void)
>> >> +static int __init armada_370_xp_cpu_pm_init(void)
>> >
>> > Indeed, this one needs to be fixed.
>>
>> How do you want me to handle this?
>
> Maybe send a new patch that fixes just that one?

Sounds good. Thanks.

-- 
With warm regards,
Sachin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-27 12:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27 11:37 [PATCH 1/1] ARM: mvebu: Staticize local variables Sachin Kamat
2014-05-27 11:51 ` Thomas Petazzoni
2014-05-27 11:54   ` Sachin Kamat
2014-05-27 12:01     ` Thomas Petazzoni
2014-05-27 12:03       ` Sachin Kamat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox