Subject: Re: [net-next:master 1118/1134] drivers/net/dsa/b53/b53_srab.c:388:20: warning: cast from pointer to integer of different size

From: Florian Fainelli <[email-masked]>
Date: Mon, 11 Jul 2016 14:37:32 -0700

On 07/11/2016 02:31 PM, David Miller wrote:
> From: kbuild test robot <[email-masked]>
> Date: Tue, 12 Jul 2016 05:19:57 +0800
> 
>> All warnings (new ones prefixed by >>):
>>
>>    drivers/net/dsa/b53/b53_srab.c: In function 'b53_srab_probe':
>>>> drivers/net/dsa/b53/b53_srab.c:388:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>>       pdata->chip_id = (u32)of_id->data;
>>                        ^
>>
> 
> Fixed as follows:
> 
> ====================
> [PATCH] b53: Fix build warning.
> 
>    drivers/net/dsa/b53/b53_srab.c: In function 'b53_srab_probe':
>>> drivers/net/dsa/b53/b53_srab.c:388:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>       pdata->chip_id = (u32)of_id->data;
>                        ^
> 
> Reported-by: kbuild test robot <[email-masked]>
> Signed-off-by: David S. Miller <[email-masked]>

Acked-by: Florian Fainelli <[email-masked]>

You are fast, thanks David!
-- 
Florian