2012-05-11 14:54:20

by Raul Xiong

[permalink] [raw]
Subject: [PATCH] cpu_pm: fix some typos in comments

Fix some comment typos in function names

Signed-off-by: Raul Xiong <[email protected]>
---
kernel/cpu_pm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c
index 249152e..957b151 100644
--- a/kernel/cpu_pm.c
+++ b/kernel/cpu_pm.c
@@ -81,7 +81,7 @@ int cpu_pm_unregister_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(cpu_pm_unregister_notifier);

/**
- * cpm_pm_enter - CPU low power entry notifier
+ * cpu_pm_enter - CPU low power entry notifier
*
* Notifies listeners that a single CPU is entering a low power state that may
* cause some blocks in the same power domain as the cpu to reset.
@@ -115,7 +115,7 @@ int cpu_pm_enter(void)
EXPORT_SYMBOL_GPL(cpu_pm_enter);

/**
- * cpm_pm_exit - CPU low power exit notifier
+ * cpu_pm_exit - CPU low power exit notifier
*
* Notifies listeners that a single CPU is exiting a low power state that may
* have caused some blocks in the same power domain as the cpu to reset.
@@ -139,7 +139,7 @@ int cpu_pm_exit(void)
EXPORT_SYMBOL_GPL(cpu_pm_exit);

/**
- * cpm_cluster_pm_enter - CPU cluster low power entry notifier
+ * cpu_cluster_pm_enter - CPU cluster low power entry notifier
*
* Notifies listeners that all cpus in a power domain are entering a low power
* state that may cause some blocks in the same power domain to reset.
@@ -174,7 +174,7 @@ int cpu_cluster_pm_enter(void)
EXPORT_SYMBOL_GPL(cpu_cluster_pm_enter);

/**
- * cpm_cluster_pm_exit - CPU cluster low power exit notifier
+ * cpu_cluster_pm_exit - CPU cluster low power exit notifier
*
* Notifies listeners that all cpus in a power domain are exiting form a
* low power state that may have caused some blocks in the same power domain


2012-05-14 02:43:33

by Raul Xiong

[permalink] [raw]
Subject: Re: [PATCH] cpu_pm: fix some typos in comments

2012/5/11 Raul Xiong <[email protected]>:
> Fix some comment typos in function names
>
> Signed-off-by: Raul Xiong <[email protected]>
> ---
> ?kernel/cpu_pm.c | ? ?8 ++++----
> ?1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c
> index 249152e..957b151 100644
> --- a/kernel/cpu_pm.c
> +++ b/kernel/cpu_pm.c
> @@ -81,7 +81,7 @@ int cpu_pm_unregister_notifier(struct notifier_block *nb)
> ?EXPORT_SYMBOL_GPL(cpu_pm_unregister_notifier);
>
> ?/**
> - * cpm_pm_enter - CPU low power entry notifier
> + * cpu_pm_enter - CPU low power entry notifier
> ?*
> ?* Notifies listeners that a single CPU is entering a low power state that may
> ?* cause some blocks in the same power domain as the cpu to reset.
> @@ -115,7 +115,7 @@ int cpu_pm_enter(void)
> ?EXPORT_SYMBOL_GPL(cpu_pm_enter);
>
> ?/**
> - * cpm_pm_exit - CPU low power exit notifier
> + * cpu_pm_exit - CPU low power exit notifier
> ?*
> ?* Notifies listeners that a single CPU is exiting a low power state that may
> ?* have caused some blocks in the same power domain as the cpu to reset.
> @@ -139,7 +139,7 @@ int cpu_pm_exit(void)
> ?EXPORT_SYMBOL_GPL(cpu_pm_exit);
>
> ?/**
> - * cpm_cluster_pm_enter - CPU cluster low power entry notifier
> + * cpu_cluster_pm_enter - CPU cluster low power entry notifier
> ?*
> ?* Notifies listeners that all cpus in a power domain are entering a low power
> ?* state that may cause some blocks in the same power domain to reset.
> @@ -174,7 +174,7 @@ int cpu_cluster_pm_enter(void)
> ?EXPORT_SYMBOL_GPL(cpu_cluster_pm_enter);
>
> ?/**
> - * cpm_cluster_pm_exit - CPU cluster low power exit notifier
> + * cpu_cluster_pm_exit - CPU cluster low power exit notifier
> ?*
> ?* Notifies listeners that all cpus in a power domain are exiting form a
> ?* low power state that may have caused some blocks in the same power domain


Hi Colin, all,

Is there any problem to accept this patch?


Raul
Best Regards

2012-05-14 02:46:36

by Colin Cross

[permalink] [raw]
Subject: Re: [PATCH] cpu_pm: fix some typos in comments

On Sun, May 13, 2012 at 7:43 PM, Raul Xiong <[email protected]> wrote:
> 2012/5/11 Raul Xiong <[email protected]>:
>> Fix some comment typos in function names
>>
>> Signed-off-by: Raul Xiong <[email protected]>
>> ---
>> ?kernel/cpu_pm.c | ? ?8 ++++----
>> ?1 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c
>> index 249152e..957b151 100644
>> --- a/kernel/cpu_pm.c
>> +++ b/kernel/cpu_pm.c
>> @@ -81,7 +81,7 @@ int cpu_pm_unregister_notifier(struct notifier_block *nb)
>> ?EXPORT_SYMBOL_GPL(cpu_pm_unregister_notifier);
>>
>> ?/**
>> - * cpm_pm_enter - CPU low power entry notifier
>> + * cpu_pm_enter - CPU low power entry notifier
>> ?*
>> ?* Notifies listeners that a single CPU is entering a low power state that may
>> ?* cause some blocks in the same power domain as the cpu to reset.
>> @@ -115,7 +115,7 @@ int cpu_pm_enter(void)
>> ?EXPORT_SYMBOL_GPL(cpu_pm_enter);
>>
>> ?/**
>> - * cpm_pm_exit - CPU low power exit notifier
>> + * cpu_pm_exit - CPU low power exit notifier
>> ?*
>> ?* Notifies listeners that a single CPU is exiting a low power state that may
>> ?* have caused some blocks in the same power domain as the cpu to reset.
>> @@ -139,7 +139,7 @@ int cpu_pm_exit(void)
>> ?EXPORT_SYMBOL_GPL(cpu_pm_exit);
>>
>> ?/**
>> - * cpm_cluster_pm_enter - CPU cluster low power entry notifier
>> + * cpu_cluster_pm_enter - CPU cluster low power entry notifier
>> ?*
>> ?* Notifies listeners that all cpus in a power domain are entering a low power
>> ?* state that may cause some blocks in the same power domain to reset.
>> @@ -174,7 +174,7 @@ int cpu_cluster_pm_enter(void)
>> ?EXPORT_SYMBOL_GPL(cpu_cluster_pm_enter);
>>
>> ?/**
>> - * cpm_cluster_pm_exit - CPU cluster low power exit notifier
>> + * cpu_cluster_pm_exit - CPU cluster low power exit notifier
>> ?*
>> ?* Notifies listeners that all cpus in a power domain are exiting form a
>> ?* low power state that may have caused some blocks in the same power domain
>
>
> Hi Colin, all,
>
> Is there any problem to accept this patch?
>
>
> Raul
> Best Regards

Nicolas Pitre posted a similar patch in March that fixed these plus
one more typo, and got two acks. That one should probably go in.

2012-05-14 02:54:32

by Raul Xiong

[permalink] [raw]
Subject: Re: [PATCH] cpu_pm: fix some typos in comments

2012/5/14 Colin Cross <[email protected]>:
> On Sun, May 13, 2012 at 7:43 PM, Raul Xiong <[email protected]> wrote:
>> 2012/5/11 Raul Xiong <[email protected]>:
>>> Fix some comment typos in function names
>>>
>>> Signed-off-by: Raul Xiong <[email protected]>
>>> ---
>>> ?kernel/cpu_pm.c | ? ?8 ++++----
>>> ?1 files changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c
>>> index 249152e..957b151 100644
>>> --- a/kernel/cpu_pm.c
>>> +++ b/kernel/cpu_pm.c
>>> @@ -81,7 +81,7 @@ int cpu_pm_unregister_notifier(struct notifier_block *nb)
>>> ?EXPORT_SYMBOL_GPL(cpu_pm_unregister_notifier);
>>>
>>> ?/**
>>> - * cpm_pm_enter - CPU low power entry notifier
>>> + * cpu_pm_enter - CPU low power entry notifier
>>> ?*
>>> ?* Notifies listeners that a single CPU is entering a low power state that may
>>> ?* cause some blocks in the same power domain as the cpu to reset.
>>> @@ -115,7 +115,7 @@ int cpu_pm_enter(void)
>>> ?EXPORT_SYMBOL_GPL(cpu_pm_enter);
>>>
>>> ?/**
>>> - * cpm_pm_exit - CPU low power exit notifier
>>> + * cpu_pm_exit - CPU low power exit notifier
>>> ?*
>>> ?* Notifies listeners that a single CPU is exiting a low power state that may
>>> ?* have caused some blocks in the same power domain as the cpu to reset.
>>> @@ -139,7 +139,7 @@ int cpu_pm_exit(void)
>>> ?EXPORT_SYMBOL_GPL(cpu_pm_exit);
>>>
>>> ?/**
>>> - * cpm_cluster_pm_enter - CPU cluster low power entry notifier
>>> + * cpu_cluster_pm_enter - CPU cluster low power entry notifier
>>> ?*
>>> ?* Notifies listeners that all cpus in a power domain are entering a low power
>>> ?* state that may cause some blocks in the same power domain to reset.
>>> @@ -174,7 +174,7 @@ int cpu_cluster_pm_enter(void)
>>> ?EXPORT_SYMBOL_GPL(cpu_cluster_pm_enter);
>>>
>>> ?/**
>>> - * cpm_cluster_pm_exit - CPU cluster low power exit notifier
>>> + * cpu_cluster_pm_exit - CPU cluster low power exit notifier
>>> ?*
>>> ?* Notifies listeners that all cpus in a power domain are exiting form a
>>> ?* low power state that may have caused some blocks in the same power domain
>>
>>
>> Hi Colin, all,
>>
>> Is there any problem to accept this patch?
>>
>>
>> Raul
>> Best Regards
>
> Nicolas Pitre posted a similar patch in March that fixed these plus
> one more typo, and got two acks. ?That one should probably go in.

Got it, thanks for let me know that.