From: kbuild test robot <lkp@intel.com>
To: Florian Fainelli <f.fainelli@gmail.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org, davem@davemloft.net,
andrew@lunn.ch, vivien.didelot@savoirfairelinux.com,
Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: [PATCH net-next 3/3] net: dsa: Factor bottom tag receive functions
Date: Sat, 8 Apr 2017 10:33:13 +0800 [thread overview]
Message-ID: <201704081059.7gN1qGvl%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170407204154.9651-4-f.fainelli@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2173 bytes --]
Hi Florian,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/net-dsa-Receive-path-simplifications/20170408-074503
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64
All errors (new ones prefixed by >>):
>> net//dsa/tag_mtk.c:117:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.rcv = mtk_tag_rcv,
^~~~~~~~~~~
net//dsa/tag_mtk.c:117:9: note: (near initialization for 'mtk_netdev_ops.rcv')
cc1: some warnings being treated as errors
vim +117 net//dsa/tag_mtk.c
5cd8985a Sean Wang 2017-04-07 101
5cd8985a Sean Wang 2017-04-07 102 skb->dev->stats.rx_packets++;
5cd8985a Sean Wang 2017-04-07 103 skb->dev->stats.rx_bytes += skb->len;
5cd8985a Sean Wang 2017-04-07 104
5cd8985a Sean Wang 2017-04-07 105 netif_receive_skb(skb);
5cd8985a Sean Wang 2017-04-07 106
5cd8985a Sean Wang 2017-04-07 107 return 0;
5cd8985a Sean Wang 2017-04-07 108
5cd8985a Sean Wang 2017-04-07 109 out_drop:
5cd8985a Sean Wang 2017-04-07 110 kfree_skb(skb);
5cd8985a Sean Wang 2017-04-07 111 out:
5cd8985a Sean Wang 2017-04-07 112 return 0;
5cd8985a Sean Wang 2017-04-07 113 }
5cd8985a Sean Wang 2017-04-07 114
5cd8985a Sean Wang 2017-04-07 115 const struct dsa_device_ops mtk_netdev_ops = {
5cd8985a Sean Wang 2017-04-07 116 .xmit = mtk_tag_xmit,
5cd8985a Sean Wang 2017-04-07 @117 .rcv = mtk_tag_rcv,
5cd8985a Sean Wang 2017-04-07 118 };
:::::: The code at line 117 was first introduced by commit
:::::: 5cd8985a19090f2b0ce8700ae3ec19e06a4fc5e9 net-next: dsa: add Mediatek tag RX/TX handler
:::::: TO: Sean Wang <sean.wang@mediatek.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
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: 46816 bytes --]
next prev parent reply other threads:[~2017-04-08 2:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 20:41 [PATCH net-next 0/3] net: dsa: Receive path simplifications Florian Fainelli
2017-04-07 20:41 ` [PATCH net-next 1/3] net: dsa: Do not check for NULL dst in tag parsers Florian Fainelli
2017-04-07 20:53 ` Vivien Didelot
2017-04-07 20:54 ` Andrew Lunn
2017-04-07 20:41 ` [PATCH net-next 2/3] net: dsa: Move skb_unshare() to dsa_switch_rcv() Florian Fainelli
2017-04-07 20:53 ` Vivien Didelot
2017-04-07 20:56 ` Andrew Lunn
2017-04-07 20:41 ` [PATCH net-next 3/3] net: dsa: Factor bottom tag receive functions Florian Fainelli
2017-04-07 20:54 ` Vivien Didelot
2017-04-08 2:33 ` kbuild test robot [this message]
2017-04-08 2:56 ` kbuild test robot
2017-04-07 20:53 ` [PATCH net-next 0/3] net: dsa: Receive path simplifications Andrew Lunn
2017-04-07 20:55 ` Florian Fainelli
2017-04-07 20:59 ` Andrew Lunn
2017-04-07 21:17 ` David Miller
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=201704081059.7gN1qGvl%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.