Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver
From: kbuild test robot
Date: Tue Dec 29 2015 - 23:28:09 EST
Hi Gilad,
[auto build test WARNING on net/master]
[also build test WARNING on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Gilad-Avidov/net-emac-emac-gigabit-ethernet-controller-driver/20151230-095104
config: ia64-allyesconfig (attached as .config)
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=ia64
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/smp.h:20:0,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/slab.h:14,
from include/linux/textsearch.h:8,
from include/linux/skbuff.h:30,
from include/linux/tcp.h:21,
from drivers/net/ethernet/qualcomm/emac/emac-mac.c:16:
drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up':
arch/ia64/include/asm/io.h:394:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define writel(v,a) __writel((v), (a))
^
>> drivers/net/ethernet/qualcomm/emac/emac-mac.c:1090:2: note: in expansion of macro 'writel'
writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
^
vim +/writel +1090 drivers/net/ethernet/qualcomm/emac/emac-mac.c
1074 }
1075 }
1076
1077 ret = request_irq(irq->irq, emac_isr, 0, EMAC_MAC_IRQ_RES, irq);
1078 if (ret) {
1079 netdev_err(adpt->netdev,
1080 "error:%d on request_irq(%d:%s flags:0)\n", ret,
1081 irq->irq, EMAC_MAC_IRQ_RES);
1082 goto err_request_irq;
1083 }
1084
1085 emac_mac_rx_descs_refill(adpt, &adpt->rx_q);
1086
1087 napi_enable(&adpt->rx_q.napi);
1088
1089 /* enable mac irq */
> 1090 writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
1091 writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK);
1092
1093 netif_start_queue(netdev);
1094 clear_bit(EMAC_STATUS_DOWN, &adpt->status);
1095
1096 /* check link status */
1097 set_bit(EMAC_STATUS_TASK_LSC_REQ, &adpt->status);
1098 adpt->link_chk_timeout = jiffies + EMAC_TRY_LINK_TIMEOUT;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data