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]
Message-ID: <201612010212.VgP7bO0Y%fengguang.wu@intel.com>
Date:   Thu, 1 Dec 2016 02:40:11 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Serge Semin <fancer.lancer@...il.com>
Cc:     kbuild-all@...org, jdmason@...zu.us, dave.jiang@...el.com,
        Allen.Hubbe@....com, Xiangliang.Yu@....com,
        Sergey.Semin@...latforms.ru, linux-ntb@...glegroups.com,
        linux-kernel@...r.kernel.org, Serge Semin <fancer.lancer@...il.com>
Subject: Re: [PATCH 02/22] NTB: Add peer indexed ports NTB API

Hi Serge,

[auto build test ERROR on ntb/ntb-next]
[also build test ERROR on v4.9-rc7 next-20161130]
[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/Serge-Semin/NTB-Alter-kernel-API-to-support-multi-port-devices/20161201-014939
base:   https://github.com/jonmason/ntb ntb-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'ndev_reset_unsafe_flags':
>> drivers/ntb/hw/intel/ntb_hw_intel.c:232:8: error: implicit declaration of function 'ntb_topo_is_b2b' [-Werror=implicit-function-declaration]
      if (!ntb_topo_is_b2b(ndev->ntb.topo))
           ^~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'intel_ntb_link_enable':
   drivers/ntb/hw/intel/ntb_hw_intel.c:1206:24: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
     if (ndev->ntb.topo == NTB_TOPO_SEC)
                           ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:1206:24: note: each undeclared identifier is reported only once for each function it appears in
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'intel_ntb_link_disable':
   drivers/ntb/hw/intel/ntb_hw_intel.c:1235:24: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
     if (ndev->ntb.topo == NTB_TOPO_SEC)
                           ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'atom_ppd_topo':
>> drivers/ntb/hw/intel/ntb_hw_intel.c:1448:10: error: 'NTB_TOPO_B2B_USD' undeclared (first use in this function)
      return NTB_TOPO_B2B_USD;
             ^~~~~~~~~~~~~~~~
>> drivers/ntb/hw/intel/ntb_hw_intel.c:1452:10: error: 'NTB_TOPO_B2B_DSD' undeclared (first use in this function)
      return NTB_TOPO_B2B_DSD;
             ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'atom_init_ntb':
   drivers/ntb/hw/intel/ntb_hw_intel.c:1572:7: error: 'NTB_TOPO_B2B_USD' undeclared (first use in this function)
     case NTB_TOPO_B2B_USD:
          ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:1573:7: error: 'NTB_TOPO_B2B_DSD' undeclared (first use in this function)
     case NTB_TOPO_B2B_DSD:
          ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'atom_init_dev':
   drivers/ntb/hw/intel/ntb_hw_intel.c:1614:24: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
     if (ndev->ntb.topo != NTB_TOPO_SEC) {
                           ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'skx_init_ntb':
   drivers/ntb/hw/intel/ntb_hw_intel.c:1789:7: error: 'NTB_TOPO_B2B_USD' undeclared (first use in this function)
     case NTB_TOPO_B2B_USD:
          ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:1790:7: error: 'NTB_TOPO_B2B_DSD' undeclared (first use in this function)
     case NTB_TOPO_B2B_DSD:
          ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'xeon_link_is_up':
   drivers/ntb/hw/intel/ntb_hw_intel.c:2043:24: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
     if (ndev->ntb.topo == NTB_TOPO_SEC)
                           ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'xeon_ppd_topo':
   drivers/ntb/hw/intel/ntb_hw_intel.c:2053:10: error: 'NTB_TOPO_B2B_USD' undeclared (first use in this function)
      return NTB_TOPO_B2B_USD;
             ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:2056:10: error: 'NTB_TOPO_B2B_DSD' undeclared (first use in this function)
      return NTB_TOPO_B2B_DSD;
             ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:2060:10: error: 'NTB_TOPO_PRI' undeclared (first use in this function)
      return NTB_TOPO_PRI;
             ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:2064:10: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
      return NTB_TOPO_SEC;
             ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'xeon_init_ntb':
   drivers/ntb/hw/intel/ntb_hw_intel.c:2356:7: error: 'NTB_TOPO_PRI' undeclared (first use in this function)
     case NTB_TOPO_PRI:
          ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:2374:7: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
     case NTB_TOPO_SEC:
          ^~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:2386:7: error: 'NTB_TOPO_B2B_USD' undeclared (first use in this function)
     case NTB_TOPO_B2B_USD:
          ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c:2387:7: error: 'NTB_TOPO_B2B_DSD' undeclared (first use in this function)
     case NTB_TOPO_B2B_DSD:
          ^~~~~~~~~~~~~~~~
   drivers/ntb/hw/intel/ntb_hw_intel.c: In function 'xeon_init_dev':
   drivers/ntb/hw/intel/ntb_hw_intel.c:2534:24: error: 'NTB_TOPO_SEC' undeclared (first use in this function)
     if (ndev->ntb.topo != NTB_TOPO_SEC) {
                           ^~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/ntb_topo_is_b2b +232 drivers/ntb/hw/intel/ntb_hw_intel.c

fce8a7bb drivers/ntb/ntb_hw.c                Jon Mason   2012-11-16  226  {
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09  227  	ndev->unsafe_flags = 0;
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09  228  	ndev->unsafe_flags_ignore = 0;
fce8a7bb drivers/ntb/ntb_hw.c                Jon Mason   2012-11-16  229  
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09  230  	/* Only B2B has a workaround to avoid SDOORBELL */
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09  231  	if (ndev->hwerr_flags & NTB_HWERR_SDOORBELL_LOCKUP)
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09 @232  		if (!ntb_topo_is_b2b(ndev->ntb.topo))
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09  233  			ndev->unsafe_flags |= NTB_UNSAFE_DB;
fce8a7bb drivers/ntb/ntb_hw.c                Jon Mason   2012-11-16  234  
e26a5843 drivers/ntb/hw/intel/ntb_hw_intel.c Allen Hubbe 2015-04-09  235  	/* No low level workaround to avoid SB01BASE */

:::::: The code at line 232 was first introduced by commit
:::::: e26a5843f7f5014ae4460030ca4de029a3ac35d3 NTB: Split ntb_hw_intel and ntb_transport drivers

:::::: TO: Allen Hubbe <Allen.Hubbe@....com>
:::::: CC: Jon Mason <jdmason@...zu.us>

---
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" (56642 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ