[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201704081059.7gN1qGvl%fengguang.wu@intel.com>
Date: Sat, 8 Apr 2017 10:33:13 +0800
From: kbuild test robot <lkp@...el.com>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH net-next 3/3] net: dsa: Factor bottom tag receive
functions
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@...iatek.com>
:::::: CC: David S. Miller <davem@...emloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (46816 bytes)
Powered by blists - more mailing lists