Re: [PATCH 1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
From: Lee Jones
Date: Thu Aug 17 2023 - 13:20:08 EST
On Thu, 10 Aug 2023 11:58:41 +0200, Krzysztof Kozlowski wrote:
> 'partnum' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> stmpe-i2c.c:90:13: error: cast to smaller integer type 'enum stmpe_partnum' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
>
Applied, thanks!
[1/9] mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
commit: ee1a91ee7729b56535bce753c5a8146ec58aa0c6
[2/9] mfd: max14577: Fix Wvoid-pointer-to-enum-cast warning
commit: e3569bd687ebbb35339aa8699311c28770d3a3b6
[3/9] mfd: max77541: Fix Wvoid-pointer-to-enum-cast warning
commit: d964ac59516ca77c0761d73681d7975e33ddfeae
[4/9] mfd: hi6421-pmic: Fix Wvoid-pointer-to-enum-cast warning
commit: bbf26b17476c8528a3dc903f5550e89bdca7aa72
[5/9] mfd: lp87565: Fix Wvoid-pointer-to-enum-cast warning
commit: d3cf4d705563d26e02e8997cc2cf297542abdadf
[6/9] mfd: tc3589: Fix Wvoid-pointer-to-enum-cast warning
commit: 499e6c7904a5d1860651ec2437a9873e2b9aa1f0
[7/9] mfd: wm8994: Fix Wvoid-pointer-to-enum-cast warning
commit: b53cd2fb2769dd8c082adaaa8f1746265a9ca732
[8/9] mfd: wm31x: Fix Wvoid-pointer-to-enum-cast warning
commit: a79c1c76d726c5af9cf925ee0a5b934bd17c1496
[9/9] mfd: mxs-lradc: Fix Wvoid-pointer-to-enum-cast warning
commit: 243cd47f753d57e1d6d11449056a437052560b84
--
Lee Jones [李琼斯]