diff options
author | 2023-08-10 13:19:56 +0200 | |
---|---|---|
committer | 2023-08-11 09:25:14 +0100 | |
commit | bd6e74a2f0a0c76dda8e44d26f9b91a797586c3b (patch) | |
tree | 441820a8af11439d483057fdb920df7fc25090f9 /tools/perf/scripts/python | |
parent | phy: broadcom: sata: fix Wvoid-pointer-to-enum-cast warning (diff) | |
download | wireguard-linux-bd6e74a2f0a0c76dda8e44d26f9b91a797586c3b.tar.xz wireguard-linux-bd6e74a2f0a0c76dda8e44d26f9b91a797586c3b.zip |
phy: broadcom: ns-usb3: fix Wvoid-pointer-to-enum-cast warning
'family' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
drivers/phy/broadcom/phy-bcm-ns-usb3.c:209:17: error: cast to smaller integer type 'enum bcm_ns_family' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810111958.205705-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions