[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f24e7016-0131-7c42-6b59-c45fcc7873cd@linaro.org>
Date: Fri, 10 Feb 2023 15:28:49 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Yongqin Liu <yongqin.liu@...aro.org>, rafael@...nel.org,
amitk@...nel.org, rui.zhang@...el.com, edubezval@...il.com,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: keescook@...omium.org, sumit.semwal@...aro.org, jstultz@...gle.com
Subject: Re: [PATCH 1/1] thermal/drivers/hisi: Drop second sensor hi3660
On 10/02/2023 15:15, Yongqin Liu wrote:
> The commit 74c8e6bffbe1 ("driver core: Add __alloc_size hint to devm
> allocators") exposes a panic "BRK handler: Fatal exception" on the
> hi3660_thermal_probe funciton.
> This is because the function allocates memory for only one
> sensors array entry, but tries to fill up a second one.
>
> Fix this by removing the unneeded second access.
>
> Fixes: 7d3a2a2bbadb ("thermal/drivers/hisi: Fix number of sensors on hi3660")
> Signed-off-by: Yongqin Liu <yongqin.liu@...aro.org>
> Link: https://lore.kernel.org/linux-mm/20221101223321.1326815-5-keescook@chromium.org/
> ---
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