[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9b1be97e-b042-87d0-447a-9645c3039e59@linaro.org>
Date: Thu, 28 Sep 2023 15:48:12 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Kuan-Wei Chiu <visitorckw@...il.com>, rafael@...nel.org
Cc: amitk@...nel.org, rui.zhang@...el.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] tools/thermal: remove unused 'mds' and 'nrhandler'
variables
On 26/09/2023 19:37, Kuan-Wei Chiu wrote:
> In the previous code, the 'mds' and 'nrhandler' variables were not
> utilized in the codebase. Additionally, there was a potential NULL
> pointer dereference and memory leak due to improper handling of memory
> reallocation failure.
>
> This patch removes the unused 'mds' and 'nrhandler' variables along with
> the associated code, addressing the unused variable issue, NULL pointer
> dereference issue and the memory leak issue.
>
> Signed-off-by: Kuan-Wei Chiu <visitorckw@...il.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