[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b8812390-7570-dc91-6a12-964c28a85d30@linaro.org>
Date: Wed, 16 Aug 2023 12:12:00 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Alim Akhtar <alim.akhtar@...sung.com>,
linux-pm@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Andi Shyti <andi.shyti@...nel.org>
Subject: Re: [PATCH net-next] thermal: samsung: fix Wvoid-pointer-to-enum-cast
warning
On 10/08/2023 11:13, Krzysztof Kozlowski wrote:
> 'soc' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> exynos_tmu.c:890:14: error: cast to smaller integer type 'enum soc_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.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