[PATCH net-next] phy: amlogic: meson-g12a-usb2: fix Wvoid-pointer-to-enum-cast warning
Vinod Koul
vkoul at kernel.org
Thu Aug 17 02:55:29 PDT 2023
On Thu, 10 Aug 2023 11:13:10 +0200, Krzysztof Kozlowski wrote:
> '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]
>
>
Applied, thanks!
[1/1] phy: amlogic: meson-g12a-usb2: fix Wvoid-pointer-to-enum-cast warning
commit: b72d87b4cb67984419502eb7c16adfea48cc56aa
Best regards,
--
~Vinod
More information about the linux-amlogic
mailing list