diff options
author | 2023-08-10 13:19:13 +0200 | |
---|---|---|
committer | 2023-08-10 15:44:45 +0100 | |
commit | b29f42c6629bb3bd3d479592d40a7e4c73461a01 (patch) | |
tree | 246027ea4958fee60d4b61dbf00222af02b414df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: ltc3589: Fix Wvoid-pointer-to-enum-cast warning (diff) | |
download | wireguard-linux-b29f42c6629bb3bd3d479592d40a7e4c73461a01.tar.xz wireguard-linux-b29f42c6629bb3bd3d479592d40a7e4c73461a01.zip |
regulator: max77857: Fix Wvoid-pointer-to-enum-cast warning
'id' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
max77857-regulator.c:56:24: error: cast to smaller integer type 'enum max77857_id' from 'void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810111914.204847-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions