[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5e787efe-6e78-59a4-61b9-7ece2ea1fde1@linuxfoundation.org>
Date: Fri, 24 Jun 2022 08:34:20 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Xiang wangx <wangxiang@...rlc.com>, trenn@...e.com
Cc: shuah@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] cpupower: Fix typo in comment
On 6/24/22 12:55 AM, Xiang wangx wrote:
> Delete the redundant word 'cpu'.
>
> Signed-off-by: Xiang wangx <wangxiang@...rlc.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
Powered by blists - more mailing lists