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: <ae0bec37-f800-4824-914c-34bf41d2a775@linaro.org>
Date: Wed, 21 Aug 2024 16:29:17 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>,
 Linux PM <linux-pm@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Lukasz Luba <lukasz.luba@....com>,
 Zhang Rui <rui.zhang@...el.com>
Subject: Re: [PATCH v3 14/14] thermal: core: Clean up trip bind/unbind
 functions

On 19/08/2024 18:33, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> 
> Make thermal_bind_cdev_to_trip() take a struct cooling_spec pointer
> to reduce the number of its arguments, change the return type of
> thermal_unbind_cdev_from_trip() to void and rearrange the code in
> thermal_zone_cdev_binding() to reduce the indentation level.
> 
> No intentional functional impact.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> ---
> 
> v2 -> v3: Subject fix
> 
> v1-> v2: No changes
> 
> ---
>   drivers/thermal/thermal_core.c |   54 +++++++++++++++--------------------------
>   1 file changed, 21 insertions(+), 33 deletions(-)
> 
> Index: linux-pm/drivers/thermal/thermal_core.c
> ===================================================================
> --- linux-pm.orig/drivers/thermal/thermal_core.c
> +++ linux-pm/drivers/thermal/thermal_core.c
> @@ -757,15 +757,7 @@ struct thermal_zone_device *thermal_zone
>    * @tz:		pointer to struct thermal_zone_device
>    * @trip:	trip point the cooling devices is associated with in this zone.
>    * @cdev:	pointer to struct thermal_cooling_device
> - * @upper:	the Maximum cooling state for this trip point.
> - *		THERMAL_NO_LIMIT means no upper limit,
> - *		and the cooling device can be in max_state.
> - * @lower:	the Minimum cooling state can be used for this trip point.
> - *		THERMAL_NO_LIMIT means no lower limit,
> - *		and the cooling device can be in cooling state 0.
> - * @weight:	The weight of the cooling device to be bound to the
> - *		thermal zone. Use THERMAL_WEIGHT_DEFAULT for the
> - *		default value
> + * @c:		cooling specification for @trip and @cdev

s/c/cspec/ at least :)

Other than that

Reviewed-by: Daniel Lezcano <daniel.lezcano@...aro.org>


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ