[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1bc55c9c-f5ff-46c7-b2f3-65c275c52bcb@linaro.org>
Date: Thu, 14 Nov 2024 18:46:33 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
Cc: rafael@...nel.org, linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] tools/thermal: Fix common realloc mistake
On 14/11/2024 09:40, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@...s.chinamobile.com>
>
> If the 'realloc' fails, the thermal zones pointer is set to NULL. This
> makes all thermal zones references which were previously successfully
> initialized to be lost.
>
> Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
> ---
Applied, thanks !
--
<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