linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpupower: Fix typo in comment
@ 2022-06-24  6:55 Xiang wangx
  2022-06-24 14:34 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2022-06-24  6:55 UTC (permalink / raw)
  To: trenn; +Cc: shuah, linux-pm, linux-kernel, Xiang wangx

Delete the redundant word 'cpu'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 tools/power/cpupower/bench/system.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/cpupower/bench/system.c b/tools/power/cpupower/bench/system.c
index 40f3679e70b5..eb79dd9ac670 100644
--- a/tools/power/cpupower/bench/system.c
+++ b/tools/power/cpupower/bench/system.c
@@ -37,7 +37,7 @@ long long int get_time()
  * sets the cpufreq governor
  *
  * @param governor cpufreq governor name
- * @param cpu cpu for which the governor should be set
+ * @param cpu for which the governor should be set
  *
  * @retval 0 on success
  * @retval -1 when failed
-- 
2.36.1


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

* Re: [PATCH] cpupower: Fix typo in comment
  2022-06-24  6:55 [PATCH] cpupower: Fix typo in comment Xiang wangx
@ 2022-06-24 14:34 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2022-06-24 14:34 UTC (permalink / raw)
  To: Xiang wangx, trenn; +Cc: shuah, linux-pm, linux-kernel, Shuah Khan

On 6/24/22 12:55 AM, Xiang wangx wrote:
> Delete the redundant word 'cpu'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>   tools/power/cpupower/bench/system.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/power/cpupower/bench/system.c b/tools/power/cpupower/bench/system.c
> index 40f3679e70b5..eb79dd9ac670 100644
> --- a/tools/power/cpupower/bench/system.c
> +++ b/tools/power/cpupower/bench/system.c
> @@ -37,7 +37,7 @@ long long int get_time()
>    * sets the cpufreq governor
>    *
>    * @param governor cpufreq governor name
> - * @param cpu cpu for which the governor should be set
> + * @param cpu for which the governor should be set

This is correct the way it is. It specifies the name of the parameter
and describes what it is.

>    *
>    * @retval 0 on success
>    * @retval -1 when failed
> 

There is nothing to fix here.

thanks,
-- Shuah

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

end of thread, other threads:[~2022-06-24 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  6:55 [PATCH] cpupower: Fix typo in comment Xiang wangx
2022-06-24 14:34 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).