diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-08-10 12:58:49 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-08-22 10:07:52 +0300 |
commit | 367124ebb359539fe237899abc6a9c78c6f793b6 (patch) | |
tree | 1545665c0fe2f9ad3e3b70ff4ed516b85a1b6f03 /drivers/mfd/arizona-irq.c | |
parent | 4e57d1425c7b9bc8e8be47835ac0afc8a94948d0 (diff) | |
download | linux-367124ebb359539fe237899abc6a9c78c6f793b6.tar.xz |
mfd: mxs-lradc: Fix Wvoid-pointer-to-enum-cast warning
'soc' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
mxs-lradc.c:145:15: error: cast to smaller integer type 'enum mxs_lradc_id' 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-9-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/arizona-irq.c')
0 files changed, 0 insertions, 0 deletions