[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201612121627.tARljQiK%fengguang.wu@intel.com>
Date: Mon, 12 Dec 2016 16:26:51 +0800
From: kbuild test robot <lkp@...el.com>
To: Jie Deng <Jie.Deng1@...opsys.com>
Cc: kbuild-all@...org, davem@...emloft.net, f.fainelli@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
CARLOS.PALMINHA@...opsys.com, lars.persson@...s.com,
thomas.lendacky@....com, Jie Deng <Jie.Deng1@...opsys.com>
Subject: Re: [PATCH net-next 2/2] net: ethernet: Initial driver for Synopsys
DWC XLGMAC
Hi Jie,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Jie-Deng/net-phy-add-extension-of-phy-mode-for-XLGMII/20161207-121843
config: i386-randconfig-h0-12121424 (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=i386
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/synopsys/dwc/dwc-xlgmac-pci.c:17:0:
>> drivers/net/ethernet/synopsys/dwc/dwc-eth.h:662:26: error: 'IEEE_8021QAZ_MAX_TCS' undeclared here (not in a function)
unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
^~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c:58:0:
>> drivers/net/ethernet/synopsys/dwc/dwc-eth.h:662:26: error: 'IEEE_8021QAZ_MAX_TCS' undeclared here (not in a function)
unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
^~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c: In function 'dwc_eth_enable_tx_flow_control':
>> drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c:1214:13: error: dereferencing pointer to incomplete type 'struct ieee_ets'
tc = ets->prio_tc[prio];
^~
>> drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c:1217:12: error: dereferencing pointer to incomplete type 'struct ieee_pfc'
if (pfc->pfc_en & (1 << tc)) {
^~
drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c: In function 'dwc_eth_config_dcb_tc':
>> drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c:1407:8: error: 'IEEE_8021QAZ_TSA_STRICT' undeclared (first use in this function)
case IEEE_8021QAZ_TSA_STRICT:
^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c:1407:8: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/net/ethernet/synopsys/dwc/dwc-eth-hw.c:1413:8: error: 'IEEE_8021QAZ_TSA_ETS' undeclared (first use in this function)
case IEEE_8021QAZ_TSA_ETS:
^~~~~~~~~~~~~~~~~~~~
vim +/IEEE_8021QAZ_MAX_TCS +662 drivers/net/ethernet/synopsys/dwc/dwc-eth.h
656 u64 tx_tstamp;
657
658 /* DCB support */
659 struct ieee_ets *ets;
660 struct ieee_pfc *pfc;
661 unsigned int q2tc_map[DWC_ETH_MAX_QUEUES];
> 662 unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
663 u8 num_tcs;
664
665 /* Device control parameters */
---
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" (26168 bytes)
Powered by blists - more mailing lists