Searched hist:"4 db65f45e0ac1d361f351dbeda4c5660f3a4ea38" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A D | stmpe-i2c.c | diff 4db65f45e0ac1d361f351dbeda4c5660f3a4ea38 Thu Aug 10 04:58:41 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
'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]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230810095849.123321-1-krzysztof.kozlowski@linaro.org Signed-off-by: Lee Jones <lee@kernel.org>
|