diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-08-10 13:39:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-11 11:58:45 +0300 |
commit | e5cd429e79286a17b345f9f9153d3970a46359f2 (patch) | |
tree | 12f8e691facef637e366c7ced59d1fddf050df4b /drivers/net/bonding | |
parent | c5b0c34fae1ef234982d55445b8aa482f0b05ba6 (diff) | |
download | linux-e5cd429e79286a17b345f9f9153d3970a46359f2.tar.xz |
net/marvell: fix Wvoid-pointer-to-enum-cast warning
'type' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
mvmdio.c:272:9: error: cast to smaller integer type 'enum orion_mdio_bus_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions