Thread (5 messages) 5 messages, 2 authors, 2023-08-11

Re: [PATCH 1/4] phy: broadcom: sata: fix Wvoid-pointer-to-enum-cast warning

From: Vinod Koul <vkoul@kernel.org>
Date: 2023-08-11 08:30:50
Also in: linux-phy, lkml

On Thu, 10 Aug 2023 13:19:55 +0200, Krzysztof Kozlowski wrote:
'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]
Applied, thanks!

[1/4] phy: broadcom: sata: fix Wvoid-pointer-to-enum-cast warning
      commit: d35c12b7db15e2c1316c32bad24dea2255c5f7b3
[2/4] phy: broadcom: ns-usb3: fix Wvoid-pointer-to-enum-cast warning
      commit: bd6e74a2f0a0c76dda8e44d26f9b91a797586c3b
[3/4] phy: broadcom: sr-usb: fix Wvoid-pointer-to-enum-cast warning
      commit: 2bc00b9b9001329792b14ce20141f334b6debcbc
[4/4] phy: marvell pxa-usb: fix Wvoid-pointer-to-enum-cast warning
      commit: 7451eecf1ef8be9911749e927ce5690262cc9197

Best regards,
-- 
~Vinod



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help