[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203151054.NrsDHU0t-lkp@intel.com>
Date: Tue, 15 Mar 2022 10:36:53 +0800
From: kernel test robot <lkp@...el.com>
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:netdev/net-next/master 111/126]
drivers/net/ethernet/mscc/ocelot.c:2920:14: error: use of undeclared
identifier 'IEEE_8021QAZ_MAX_TCS'
tree: https://github.com/ammarfaizi2/linux-block netdev/net-next/master
head: 5e7350e8a618ebfea0713b30986976fcbb90b8bb
commit: 978777d0fb06663523281aa50a5040c3aa31fbe7 [111/126] net: dsa: felix: configure default-prio and dscp priorities
config: hexagon-randconfig-r032-20220313 (https://download.01.org/0day-ci/archive/20220315/202203151054.NrsDHU0t-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 3e4950d7fa78ac83f33bbf1658e2f49a73719236)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/978777d0fb06663523281aa50a5040c3aa31fbe7
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block netdev/net-next/master
git checkout 978777d0fb06663523281aa50a5040c3aa31fbe7
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/net/ethernet/mscc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/mscc/ocelot.c:2920:14: error: use of undeclared identifier 'IEEE_8021QAZ_MAX_TCS'
if (prio >= IEEE_8021QAZ_MAX_TCS)
^
drivers/net/ethernet/mscc/ocelot.c:2962:14: error: use of undeclared identifier 'IEEE_8021QAZ_MAX_TCS'
if (prio >= IEEE_8021QAZ_MAX_TCS)
^
2 errors generated.
vim +/IEEE_8021QAZ_MAX_TCS +2920 drivers/net/ethernet/mscc/ocelot.c
2917
2918 int ocelot_port_set_default_prio(struct ocelot *ocelot, int port, u8 prio)
2919 {
> 2920 if (prio >= IEEE_8021QAZ_MAX_TCS)
2921 return -ERANGE;
2922
2923 ocelot_rmw_gix(ocelot,
2924 ANA_PORT_QOS_CFG_QOS_DEFAULT_VAL(prio),
2925 ANA_PORT_QOS_CFG_QOS_DEFAULT_VAL_M,
2926 ANA_PORT_QOS_CFG,
2927 port);
2928
2929 return 0;
2930 }
2931 EXPORT_SYMBOL_GPL(ocelot_port_set_default_prio);
2932
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists