Home
last modified time | relevance | path

Searched hist:"7451 eecf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/phy/marvell/
H A Dphy-pxa-usb.c7451eecf Thu Aug 10 06:19:58 CDT 2023 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> phy: marvell pxa-usb: 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-pxa-usb.c:299:26: error: cast to smaller integer type 'enum pxa_usb_phy_version' 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-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>