Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717020 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-08-22 07:10 +0200
Last post2017-08-24 10:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the phy-next tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-08-22 07:10 +0200
    Re: linux-next: build warning after merge of the phy-next tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-08-24 07:30 +0200
      Re: linux-next: build warning after merge of the phy-next tree Kishon Vijay Abraham I <kishon@ti.com> - 2017-08-24 10:10 +0200

#1717020 — linux-next: build warning after merge of the phy-next tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-08-22 07:10 +0200
Subjectlinux-next: build warning after merge of the phy-next tree
Message-ID<uh9BT-694-1@gated-at.bofh.it>
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")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1718842

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-08-24 07:30 +0200
Message-ID<uhSSl-2bC-1@gated-at.bofh.it>
In reply to#1717020
Hi Greg,

On Tue, 22 Aug 2017 15:07:33 +1000 Stephen Rothwell <sfr@canb.auug.org.au> 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

[toc] | [prev] | [next] | [standalone]


#1718947

FromKishon Vijay Abraham I <kishon@ti.com>
Date2017-08-24 10:10 +0200
Message-ID<uhVne-3SH-29@gated-at.bofh.it>
In reply to#1718842
Stephen,

On Thursday 24 August 2017 10:53 AM, Stephen Rothwell wrote:
> Hi Greg,
> 
> On Tue, 22 Aug 2017 15:07:33 +1000 Stephen Rothwell <sfr@canb.auug.org.au> 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 ...

I've now sent a patch from Arnd to fix it.

Thanks
Kishon

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web