Re: linux-next: build warning after merge of the phy-next tree

From: Stephen Rothwell
Date: Thu Aug 24 2017 - 01:23:41 EST


Hi Greg,

On Tue, 22 Aug 2017 15:07:33 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi Kishon,
>
> After merging the phy-next tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe':
> drivers/phy/ralink/phy-ralink-usb.c:195:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> phy->clk = (u32) match->data;
> ^
>
> Introduced by commit
>
> 2411a736ff09 ("phy: ralink-usb: add driver for Mediatek/Ralink")

I now get this warning after merging the usb tree ...

--
Cheers,
Stephen Rothwell