[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a51e2f2b-3381-bd5d-9599-0f291520b272@kernel.org>
Date: Fri, 1 May 2020 11:07:03 -0600
From: shuah <shuah@...nel.org>
To: Zou Wei <zou_wei@...wei.com>, trenn@...e.com
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
shuah <shuah@...nel.org>
Subject: Re: [PATCH -next] cpupower: Remove unneeded semicolon
Hi Zou Wei,
On 4/28/20 3:43 AM, Zou Wei wrote:
> Fixes coccicheck warnings:
I am not finding these in my coccicheck run. Can you send me the options
you are using?
>
> tools/power/cpupower/utils/cpupower-info.c:65:2-3: Unneeded semicolon
> tools/power/cpupower/utils/cpupower-set.c:75:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c:120:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c:175:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c:56:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c:75:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c:82:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/nhm_idle.c:94:2-3: Unneeded semicolon
> tools/power/cpupower/utils/idle_monitor/snb_idle.c:80:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
> ---
> tools/power/cpupower/utils/cpupower-info.c | 2 +-
> tools/power/cpupower/utils/cpupower-set.c | 2 +-
> tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c | 2 +-
> tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c | 6 +++---
> tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c | 2 +-
> tools/power/cpupower/utils/idle_monitor/nhm_idle.c | 2 +-
> tools/power/cpupower/utils/idle_monitor/snb_idle.c | 2 +-
> 7 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/tools/power/cpupower/utils/cpupower-info.c b/tools/power/cpupower/utils/cpupower-info.c
> index d3755ea..0ba61a2 100644
> --- a/tools/power/cpupower/utils/cpupower-info.c
> +++ b/tools/power/cpupower/utils/cpupower-info.c
> @@ -62,7 +62,7 @@ int cmd_info(int argc, char **argv)
> default:
> print_wrong_arg_exit();
> }
> - };
> + }
>
The patch itself is fine.
thanks,
-- Shuah
Powered by blists - more mailing lists