Hi Gilad,

[auto build test WARNING on net/master]
[also build test WARNING on v4.6-rc3 next-20160413]
[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/Timur-Tabi/net-emac-emac-gigabit-ethernet-controller-driver/20160414-020345
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:395: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:1076:2: note: in expansion of 
>> macro 'writel'
     writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
     ^

vim +/writel +1076 drivers/net/ethernet/qualcomm/emac/emac-mac.c

  1060                  return ret;
  1061  
  1062          ret = request_irq(irq->irq, emac_isr, 0, EMAC_MAC_IRQ_RES, irq);
  1063          if (ret) {
  1064                  netdev_err(adpt->netdev,
  1065                             "error:%d on request_irq(%d:%s flags:0)\n", 
ret,
  1066                             irq->irq, EMAC_MAC_IRQ_RES);
  1067                  emac_sgmii_down(adpt);
  1068                  return ret;
  1069          }
  1070  
  1071          emac_mac_rx_descs_refill(adpt, &adpt->rx_q);
  1072  
  1073          napi_enable(&adpt->rx_q.napi);
  1074  
  1075          /* enable mac irq */
> 1076          writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
  1077          writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK);
  1078  
  1079          netif_start_queue(netdev);
  1080          clear_bit(EMAC_STATUS_DOWN, &adpt->status);
  1081  
  1082          /* check link status */
  1083          set_bit(EMAC_STATUS_TASK_LSC_REQ, &adpt->status);
  1084          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

Reply via email to