[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174671716287.210402.13952248395866315913.b4-ty@linaro.org>
Date: Thu, 8 May 2025 17:13:17 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Mircea Caprioru <mircea.caprioru@...log.com>,
Peter Rosin <peda@...ntia.se>,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH v2] mux: adgs1408: fix Wvoid-pointer-to-enum-cast warning
On Thu, 01 May 2025 20:18:20 +0200, Krzysztof Kozlowski wrote:
> 'chip_id' is an enum, thus cast of pointer on 64-bit compile test with
> W=1 causes:
>
> adgs1408.c:63:12: error: cast to smaller integer type 'enum adgs1408_chip_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
>
v1 of this was waiting on the lists for some time, so I grabbed this v2 as well.
[1/1] mux: adgs1408: fix Wvoid-pointer-to-enum-cast warning
https://git.kernel.org/krzk/linux/c/9761037d28327e0d4ee9586a8210ef6462c2c757
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Powered by blists - more mailing lists