[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5784119C.7070308@gmail.com>
Date: Mon, 11 Jul 2016 14:37:32 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: David Miller <davem@...emloft.net>, fengguang.wu@...el.com
Cc: kbuild-all@...org, netdev@...r.kernel.org
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
On 07/11/2016 02:31 PM, David Miller wrote:
> From: kbuild test robot <fengguang.wu@...el.com>
> 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 <fengguang.wu@...el.com>
> Signed-off-by: David S. Miller <davem@...emloft.net>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
You are fast, thanks David!
--
Florian
Powered by blists - more mailing lists