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>] [day] [month] [year] [list]
Date:   Sun, 12 Mar 2017 14:23:02 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Jie Deng <Jie.Deng1@...opsys.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 38/46]
 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1548:36: error:
 'IEEE_8021QAZ_MAX_TCS' undeclared

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   01461abe62df44844efc5a57f9a365270a7c0299
commit: 65e0ace2c5cdd7aa898fea17d6e7bdc909394bf9 [38/46] net: dwc-xlgmac: Initial driver for DesignWare Enterprise Ethernet
config: i386-randconfig-x0-03121309 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 65e0ace2c5cdd7aa898fea17d6e7bdc909394bf9
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/list.h:8:0,
                    from include/linux/preempt.h:10,
                    from include/linux/spinlock.h:50,
                    from include/linux/phy.h:20,
                    from drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:20:
   drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c: In function 'xlgmac_config_queue_mapping':
>> drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1548:36: error: 'IEEE_8021QAZ_MAX_TCS' undeclared (first use in this function)
     prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS,
                                       ^
   include/linux/kernel.h:753:13: note: in definition of macro '__min'
     t1 min1 = (x);     \
                ^
>> drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1548:16: note: in expansion of macro 'min_t'
     prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS,
                   ^~~~~
   drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1548:36: note: each undeclared identifier is reported only once for each function it appears in
     prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS,
                                       ^
   include/linux/kernel.h:753:13: note: in definition of macro '__min'
     t1 min1 = (x);     \
                ^
>> drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c:1548:16: note: in expansion of macro 'min_t'
     prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS,
                   ^~~~~

vim +/IEEE_8021QAZ_MAX_TCS +1548 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c

  1542							      MTL_Q_TQOMR));
  1543				queue++;
  1544			}
  1545		}
  1546	
  1547		/* Map the 8 VLAN priority values to available MTL Rx queues */
> 1548		prio_queues = min_t(unsigned int, IEEE_8021QAZ_MAX_TCS,
  1549				    pdata->rx_q_count);
  1550		ppq = IEEE_8021QAZ_MAX_TCS / prio_queues;
  1551		ppq_extra = IEEE_8021QAZ_MAX_TCS % prio_queues;

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ