lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 21 Jan 2016 21:02:30 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Yuval Mintz <Yuval.Mintz@...gic.com>
Cc:	kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
	Yuval Mintz <Yuval.Mintz@...gic.com>,
	Sudarsana Reddy Kalluru <Sudarsana.Kalluru@...gic.com>,
	Manish Chopra <manish.chopra@...gic.com>
Subject: Re: [PATCH net-next] qed/qede: use 8.7.3.0 FW.

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

Download attachment ".config.gz" of type "application/octet-stream" (28931 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ