lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aO9jmtcU5iOA6DtE@BLRRASHENOY1.amd.com>
Date: Wed, 15 Oct 2025 14:34:26 +0530
From: "Gautham R. Shenoy" <gautham.shenoy@....com>
To: "Mario Limonciello (AMD)" <superm1@...nel.org>
Cc: Perry Yuan <perry.yuan@....com>,
	"open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <linux-kernel@...r.kernel.org>,
	"open list:CPU FREQUENCY SCALING FRAMEWORK" <linux-pm@...r.kernel.org>
Subject: Re: [PATCH v2 5/6] cpufreq/amd-pstate: Fix some whitespace issues

On Thu, Oct 09, 2025 at 11:17:55AM -0500, Mario Limonciello (AMD) wrote:
> Add whitespace around the equals and remove leading space.
>
Thanks for cleaning this up.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@....com>

> Signed-off-by: Mario Limonciello (AMD) <superm1@...nel.org>
> ---
>  drivers/cpufreq/amd-pstate.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
> index 2d2ef53d12447..a0f21ac1205af 100644
> --- a/drivers/cpufreq/amd-pstate.c
> +++ b/drivers/cpufreq/amd-pstate.c
> @@ -126,7 +126,7 @@ static unsigned int epp_values[] = {
>  	[EPP_INDEX_BALANCE_PERFORMANCE] = AMD_CPPC_EPP_BALANCE_PERFORMANCE,
>  	[EPP_INDEX_BALANCE_POWERSAVE] = AMD_CPPC_EPP_BALANCE_POWERSAVE,
>  	[EPP_INDEX_POWERSAVE] = AMD_CPPC_EPP_POWERSAVE,
> - };
> +};
>  
>  typedef int (*cppc_mode_transition_fn)(int);
>  
> @@ -182,7 +182,7 @@ static inline int get_mode_idx_from_str(const char *str, size_t size)
>  {
>  	int i;
>  
> -	for (i=0; i < AMD_PSTATE_MAX; i++) {
> +	for (i = 0; i < AMD_PSTATE_MAX; i++) {
>  		if (!strncmp(str, amd_pstate_mode_string[i], size))
>  			return i;
>  	}
> -- 
> 2.43.0
> 

-- 
Thanks and Regards
gautham.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ