diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-08-10 11:13:10 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-08-22 19:28:10 +0530 |
commit | ffc1786c3f4174b9e44a537cb1cecb7ba6b756ff (patch) | |
tree | 02bef8ec06f728d80e37214f5a8b13d60ff3b3a4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7451eecf1ef8be9911749e927ce5690262cc9197 (diff) |
phy: amlogic: meson-g12a-usb2: fix Wvoid-pointer-to-enum-cast warning
'soc_id' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
phy-meson-g12a-usb2.c:322:17: error: cast to smaller integer type 'enum meson_soc_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230810091310.70231-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions