Re: [PATCH V2 2/4] net-next: mediatek: don't use intermediate variables to store IRQ masks

From: kbuild test robot
Date: Thu Jun 30 2016 - 02:05:34 EST


Hi,

[auto build test ERROR on net/master]
[also build test ERROR on v4.7-rc5 next-20160629]
[cannot apply to net-next/master]
[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/John-Crispin/net-next-mediatek-IRQ-cleanups-fixes-and-grouping/20160629-194341
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

Note: the linux-review/John-Crispin/net-next-mediatek-IRQ-cleanups-fixes-and-grouping/20160629-194341 HEAD e8462c612b33003fba7c1a70328c7fb7872d8507 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_poll':
>> drivers/net/ethernet/mediatek/mtk_eth_soc.c:1003:16: error: 'tx_intr' undeclared (first use in this function)
if (status & (tx_intr | rx_intr))
^
drivers/net/ethernet/mediatek/mtk_eth_soc.c:1003:16: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/net/ethernet/mediatek/mtk_eth_soc.c:1003:26: error: 'rx_intr' undeclared (first use in this function)
if (status & (tx_intr | rx_intr))
^

vim +/tx_intr +1003 drivers/net/ethernet/mediatek/mtk_eth_soc.c

656e7052 John Crispin 2016-03-08 997 }
656e7052 John Crispin 2016-03-08 998
656e7052 John Crispin 2016-03-08 999 if (tx_again || rx_done == budget)
656e7052 John Crispin 2016-03-08 1000 return budget;
656e7052 John Crispin 2016-03-08 1001
656e7052 John Crispin 2016-03-08 1002 status = mtk_r32(eth, MTK_QMTK_INT_STATUS);
656e7052 John Crispin 2016-03-08 @1003 if (status & (tx_intr | rx_intr))
656e7052 John Crispin 2016-03-08 1004 return budget;
656e7052 John Crispin 2016-03-08 1005
656e7052 John Crispin 2016-03-08 1006 napi_complete(napi);

:::::: The code at line 1003 was first introduced by commit
:::::: 656e705243fd0c2864b89634ea16ed444ef64dc6 net-next: mediatek: add support for MT7623 ethernet

:::::: TO: John Crispin <blogic@xxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data