From: kbuild test robot <lkp@intel.com>
To: Christophe Roullier <christophe.roullier@st.com>
Cc: kbuild-all@01.org, Alexandre Torgue <alexandre.torgue@st.com>,
Giuseppe Cavallaro <peppe.cavallaro@st.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Christophe Roullier <christophe.roullier@st.com>
Subject: Re: [PATCH] net: ethernet: stmmac: add ARP management
Date: Wed, 18 Jan 2017 10:51:19 +0800 [thread overview]
Message-ID: <201701181026.r6U7Rcvz%fengguang.wu@intel.com> (raw)
In-Reply-To: <1484672200-7755-1-git-send-email-christophe.roullier@st.com>
[-- Attachment #1: Type: text/plain, Size: 2222 bytes --]
Hi Christophe,
[auto build test WARNING on net-next/master]
[also build test WARNING on next-20170117]
[cannot apply to v4.10-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Christophe-Roullier/net-ethernet-stmmac-add-ARP-management/20170118-084026
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3296:11: warning: passing argument 3 of 'priv->hw->dma->set_arp_addr' makes integer from pointer without a cast [-Wint-conversion]
priv->dev->dev_addr);
^~~~
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3296:11: note: expected 'u32 {aka unsigned int}' but argument is of type 'unsigned char *'
vim +3296 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
3280 NETIF_F_RXCSUM;
3281
3282 if ((priv->plat->tso_en) && (priv->dma_cap.tsoen)) {
3283 ndev->hw_features |= NETIF_F_TSO;
3284 priv->tso = true;
3285 dev_info(priv->device, "TSO feature enabled\n");
3286 }
3287
3288 if ((priv->plat->arp_en) && (priv->dma_cap.arpoffsel)) {
3289 ret = priv->hw->mac->arp_en(priv->hw);
3290 if (!ret) {
3291 pr_warn(" ARP feature disabled\n");
3292 } else {
3293 pr_info(" ARP feature enabled\n");
3294 /* Copy MAC addr into MAC_ARP_ADDRESS register*/
3295 priv->hw->dma->set_arp_addr(priv->ioaddr, 1,
> 3296 priv->dev->dev_addr);
3297 }
3298 }
3299
3300 ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA;
3301 ndev->watchdog_timeo = msecs_to_jiffies(watchdog);
3302 #ifdef STMMAC_VLAN_TAG_USED
3303 /* Both mac100 and gmac support receive VLAN tag detection */
3304 ndev->features |= NETIF_F_HW_VLAN_CTAG_RX;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24430 bytes --]
next prev parent reply other threads:[~2017-01-18 2:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-17 16:56 Christophe Roullier
2017-01-17 17:02 ` David Miller
2017-01-17 17:17 ` Florian Fainelli
2017-01-17 17:25 ` Andrew Lunn
2017-01-17 17:41 ` Florian Fainelli
2017-01-17 23:14 ` Andy Shevchenko
2017-01-18 2:51 ` kbuild test robot [this message]
2017-01-18 10:19 ` Rayagond Kokatanur
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=201701181026.r6U7Rcvz%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alexandre.torgue@st.com \
--cc=christophe.roullier@st.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.com \
/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
all inboxes | Powered by JetHome®