Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver

From: kbuild test robot
Date: Tue Dec 29 2015 - 21:34:01 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: x86_64-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up':
>> drivers/net/ethernet/qualcomm/emac/emac-mac.c:1090:9: warning: large integer implicitly truncated to unsigned type [-Woverflow]
writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
^

vim +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