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] [day] [month] [year] [list]
Message-ID: <2f263350-a455-45a8-86d3-314b5d7a7e26@linaro.org>
Date: Tue, 14 Jan 2025 19:23:49 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
 Viresh Kumar <viresh.kumar@...aro.org>, Michael Ellerman
 <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
 Christophe Leroy <christophe.leroy@...roup.eu>,
 Naveen N Rao <naveen@...nel.org>, Madhavan Srinivasan <maddy@...ux.ibm.com>,
 linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
 linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] cpufreq: Use str_enable_disable-like helpers

On 14/01/2025 11:56, Krzysztof Kozlowski wrote:
>  	if (cpufreq_boost_trigger_state(enable)) {
>  		pr_err("%s: Cannot %s BOOST!\n",
> -		       __func__, enable ? "enable" : "disable");
> +		       __func__, str_enable_disable(enable));
>  		return -EINVAL;
>  	}
>  
>  	pr_debug("%s: cpufreq BOOST %s\n",
> -		 __func__, enable ? "enabled" : "disabled");
> +		 __func__, str_enable_disable(enable));
This needs fix - enabled, not enable. V2.

Best regards,
Krzysztof

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ