Hi, [auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Netanel-Belgazal/net-ena-Add-a-driver-for-Amazon-Elastic-Network-Adapters-ENA/20160707-142005 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/net/ethernet/amazon/ena/ena_com.c: In function 'ena_com_mem_addr_set': >> drivers/net/ethernet/amazon/ena/ena_com.c:101:33: warning: right shift count >> >= width of type [-Wshift-count-overflow] ena_addr->mem_addr_high = addr >> 32; ^~ vim +101 drivers/net/ethernet/amazon/ena/ena_com.c 85 86 struct ena_com_stats_ctx { 87 struct ena_admin_aq_get_stats_cmd get_cmd; 88 struct ena_admin_acq_get_stats_resp get_resp; 89 }; 90 91 static inline int ena_com_mem_addr_set(struct ena_com_dev *ena_dev, 92 struct ena_common_mem_addr *ena_addr, 93 dma_addr_t addr) 94 { 95 if ((addr & GENMASK_ULL(ena_dev->dma_addr_bits - 1, 0)) != addr) { 96 pr_err("dma address has more bits that the device supports\n"); 97 return -EINVAL; 98 } 99 100 ena_addr->mem_addr_low = (u32)addr; > 101 ena_addr->mem_addr_high = addr >> 32; 102 103 return 0; 104 } 105 106 static int ena_com_admin_init_sq(struct ena_com_admin_queue *queue) 107 { 108 struct ena_com_admin_sq *sq = &queue->sq; 109 u16 size = ADMIN_SQ_SIZE(queue->q_depth); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data