[bluetooth-next:master 111/128] drivers/net/ethernet/mscc/ocelot.c:2920:14: error: 'IEEE_8021QAZ_MAX_TCS' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   f564af34bb7d58f4e0776b64168f565f17ee8597
commit: 978777d0fb06663523281aa50a5040c3aa31fbe7 [111/128] net: dsa: felix: configure default-prio and dscp priorities
config: i386-randconfig-a001-20220314 (https://download.01.org/0day-ci/archive/20220315/202203150608.Rb0JPSVD-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=978777d0fb06663523281aa50a5040c3aa31fbe7
        git remote add bluetooth-next https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git
        git fetch --no-tags bluetooth-next master
        git checkout 978777d0fb06663523281aa50a5040c3aa31fbe7
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   drivers/net/ethernet/mscc/ocelot.c: In function 'ocelot_port_set_default_prio':
>> drivers/net/ethernet/mscc/ocelot.c:2920:14: error: 'IEEE_8021QAZ_MAX_TCS' undeclared (first use in this function)
    2920 |  if (prio >= IEEE_8021QAZ_MAX_TCS)
         |              ^~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/mscc/ocelot.c:2920:14: note: each undeclared identifier is reported only once for each function it appears in
   drivers/net/ethernet/mscc/ocelot.c: In function 'ocelot_port_add_dscp_prio':
   drivers/net/ethernet/mscc/ocelot.c:2962:14: error: 'IEEE_8021QAZ_MAX_TCS' undeclared (first use in this function)
    2962 |  if (prio >= IEEE_8021QAZ_MAX_TCS)
         |              ^~~~~~~~~~~~~~~~~~~~


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@xxxxxxxxxxxx



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux