diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 13:19:55 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-08-11 09:25:14 +0100 |
commit | d35c12b7db15e2c1316c32bad24dea2255c5f7b3 (patch) | |
tree | bfe8eb198bb64ca09f6eed9d7ca4a39c87aa820c /tools/perf/util/c++/clang.cpp | |
parent | aff7625322ceaf32c930ebf43c75db442067a88d (diff) |
phy: broadcom: sata: fix Wvoid-pointer-to-enum-cast warning
'version' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
phy-brcm-sata.c:775:19: error: cast to smaller integer type 'enum brcm_sata_phy_version' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions