lkml.org 
[lkml]   [2023]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/4] phy: broadcom: sata: fix Wvoid-pointer-to-enum-cast warning
Date

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


\
 
 \ /
  Last update: 2023-08-11 10:31    [W:0.070 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site