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:   Sat, 7 Jan 2017 12:31:33 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Alexander Loktionov <Alexander.Loktionov@...antia.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        David VomLehn <vomlehn@...as.net>,
        Simon Edelhaus <Simon.Edelhaus@...antia.com>,
        Alexander Loktionov <Alexander.Loktionov@...antia.com>,
        Dmitrii Tarakanov <Dmitrii.Tarakanov@...antia.com>,
        Pavel Belous <Pavel.Belous@...antia.com>
Subject: Re: [PATCH v2 12/12] net: ethernet: aquantia: Receive side scaling

Hi David,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.10-rc2 next-20170106]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Alexander-Loktionov/net-ethernet-aquantia-Add-AQtion-2-5-5-GB-NIC-driver/20170107-100651
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
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 errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/aquantia/hw_atl/hw_atl_a0.c:13:0:
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_a0.c: In function 'hw_atl_a0_hw_interrupt_moderation_set':
>> drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h:44:13: error: inlining failed in call to always_inline 'aq_hw_write_reg': function body not available
    inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
                ^~~~~~~~~~~~~~~
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_a0.c:811:4: note: called from here
       aq_hw_write_reg(self, 0x00002A00U, 0x8D000000U);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/net/ethernet/aquantia/hw_atl/hw_atl_a0.c:13:0:
>> drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h:44:13: error: inlining failed in call to always_inline 'aq_hw_write_reg': function body not available
    inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
                ^~~~~~~~~~~~~~~
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_a0.c:810:4: note: called from here
       aq_hw_write_reg(self, 0x00002A00U, 0x40000000U);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/net/ethernet/aquantia/hw_atl/hw_atl_b0.c:13:0:
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_b0.c: In function 'hw_atl_b0_hw_init_tx_path':
>> drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h:44:13: error: inlining failed in call to always_inline 'aq_hw_write_reg': function body not available
    inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
                ^~~~~~~~~~~~~~~
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_b0.c:273:2: note: called from here
     aq_hw_write_reg(self, 0x00007040U, IS_CHIP_FEATURE(TPO2) ?
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       0x00010000U : 0x00000000U);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/net/ethernet/aquantia/hw_atl/hw_atl_utils.c:15:0:
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_utils.c: In function 'hw_atl_utils_fw_downld_dwords':
>> drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h:44:13: error: inlining failed in call to always_inline 'aq_hw_write_reg': function body not available
    inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
                ^~~~~~~~~~~~~~~
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_utils.c:53:2: note: called from here
     aq_hw_write_reg(self, 0x00000208U, a);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/net/ethernet/aquantia/hw_atl/hw_atl_utils.c:15:0:
>> drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h:44:13: error: inlining failed in call to always_inline 'aq_hw_write_reg': function body not available
    inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
                ^~~~~~~~~~~~~~~
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_utils.c:58:3: note: called from here
      aq_hw_write_reg(self, 0x00000200U, 0x00008000U);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/net/ethernet/aquantia/hw_atl/hw_atl_llh.c:17:0:
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_llh.c: In function 'reg_glb_cpu_sem_set':
>> drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h:44:13: error: inlining failed in call to always_inline 'aq_hw_write_reg': function body not available
    inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
                ^~~~~~~~~~~~~~~
   drivers/net/ethernet/aquantia/hw_atl/hw_atl_llh.c:22:2: note: called from here
     aq_hw_write_reg(aq_hw, glb_cpu_sem_adr(semaphore), glb_cpu_sem);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/aq_hw_write_reg +44 drivers/net/ethernet/aquantia/hw_atl/../aq_hw_utils.h

96511018 David VomLehn 2017-01-06  28  	unsigned int AQ_HW_WAIT_FOR_i; \
96511018 David VomLehn 2017-01-06  29  	for (AQ_HW_WAIT_FOR_i = _N_; (!(_B_)) && (AQ_HW_WAIT_FOR_i);\
96511018 David VomLehn 2017-01-06  30  	--AQ_HW_WAIT_FOR_i) {\
96511018 David VomLehn 2017-01-06  31  		udelay(_US_); \
96511018 David VomLehn 2017-01-06  32  	} \
96511018 David VomLehn 2017-01-06  33  	if (!AQ_HW_WAIT_FOR_i) {\
96511018 David VomLehn 2017-01-06  34  		err = ETIME; \
96511018 David VomLehn 2017-01-06  35  	} \
96511018 David VomLehn 2017-01-06  36  } while (0)
96511018 David VomLehn 2017-01-06  37  
96511018 David VomLehn 2017-01-06  38  struct aq_hw_s;
96511018 David VomLehn 2017-01-06  39  
96511018 David VomLehn 2017-01-06  40  void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk,
96511018 David VomLehn 2017-01-06  41  			 u32 shift, u32 val);
96511018 David VomLehn 2017-01-06  42  u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift);
96511018 David VomLehn 2017-01-06  43  u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg);
96511018 David VomLehn 2017-01-06 @44  inline void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
96511018 David VomLehn 2017-01-06  45  int aq_hw_err_from_flags(struct aq_hw_s *hw);
96511018 David VomLehn 2017-01-06  46  
96511018 David VomLehn 2017-01-06  47  #endif /* AQ_HW_UTILS_H */

:::::: The code at line 44 was first introduced by commit
:::::: 9651101834438045cb888ea0bea44cc575b69d03 net: ethernet: aquantia: Hardware interface and utility functions

:::::: TO: David VomLehn <vomlehn@...as.net>
:::::: CC: 0day robot <fengguang.wu@...el.com>

---
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/gzip" (48798 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ