From: Florian Fainelli <f.fainelli@gmail.com>
To: David Miller <davem@davemloft.net>, fengguang.wu@intel.com
Cc: kbuild-all@01.org, netdev@vger.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
Date: Mon, 11 Jul 2016 14:37:32 -0700 [thread overview]
Message-ID: <5784119C.7070308@gmail.com> (raw)
In-Reply-To: <20160711.143125.685534519604579905.davem@davemloft.net>
On 07/11/2016 02:31 PM, David Miller wrote:
> From: kbuild test robot <fengguang.wu@intel.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@intel.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
You are fast, thanks David!
--
Florian
prev parent reply other threads:[~2016-07-11 21:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 21:19 [net-next:master 1118/1134] drivers/net/dsa/b53/b53_srab.c:388:20: warning: cast from pointer to integer of different size kbuild test robot
2016-07-11 21:31 ` David Miller
2016-07-11 21:37 ` Florian Fainelli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5784119C.7070308@gmail.com \
--to=f.fainelli@gmail.com \
--cc=davem@davemloft.net \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).