Hi Yuval, [auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Yuval-Mintz/qed-qede-use-8-7-3-0-FW/20160121-203046 config: i386-randconfig-s0-201603 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): drivers/net/ethernet/qlogic/qede/qede_main.c: In function 'qede_reuse_page': >> drivers/net/ethernet/qlogic/qede/qede_main.c:734:2: warning: ISO C90 forbids >> mixed declarations and code [-Wdeclaration-after-statement] struct sw_rx_data *curr_prod; ^ >> drivers/net/ethernet/qlogic/qede/qede_main.c:739:2: error: 'new_mapping' >> undeclared (first use in this function) new_mapping = curr_prod->mapping + curr_prod->page_offset; ^ drivers/net/ethernet/qlogic/qede/qede_main.c:739:2: note: each undeclared identifier is reported only once for each function it appears in >> drivers/net/ethernet/qlogic/qede/qede_main.c:739:25: error: 'struct >> sw_rx_data' has no member named 'mapping' new_mapping = curr_prod->mapping + curr_prod->page_offset; ^ drivers/net/ethernet/qlogic/qede/qede_main.c: In function 'qede_rx_int': drivers/net/ethernet/qlogic/qede/qede_main.c:998:23: error: 'struct sw_rx_data' has no member named 'mapping' sw_rx_data->mapping, ^ vim +/new_mapping +739 drivers/net/ethernet/qlogic/qede/qede_main.c 728 static inline void qede_reuse_page(struct qede_dev *edev, 729 struct qede_rx_queue *rxq, 730 struct sw_rx_data *curr_cons) 731 { 732 struct eth_rx_bd *rx_bd_prod = qed_chain_produce(&rxq->rx_bd_ring); 733 DEFINE_DMA_UNMAP_ADDR(new_mapping); > 734 struct sw_rx_data *curr_prod; 735 736 curr_prod = &rxq->sw_rx_ring[rxq->sw_rx_prod & NUM_RX_BDS_MAX]; 737 *curr_prod = *curr_cons; 738 > 739 new_mapping = curr_prod->mapping + curr_prod->page_offset; 740 741 rx_bd_prod->addr.hi = cpu_to_le32(upper_32_bits(new_mapping)); 742 rx_bd_prod->addr.lo = cpu_to_le32(lower_32_bits(new_mapping)); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data