All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluetooth-next:master 111/128] drivers/net/ethernet/mscc/ocelot.c:2920:14: error: 'IEEE_8021QAZ_MAX_TCS' undeclared
@ 2022-03-14 23:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-14 23:01 UTC (permalink / raw)
  To: Vladimir Oltean; +Cc: kbuild-all, linux-bluetooth

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@intel.com/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@intel.com>

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@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-14 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14 23:01 [bluetooth-next:master 111/128] drivers/net/ethernet/mscc/ocelot.c:2920:14: error: 'IEEE_8021QAZ_MAX_TCS' undeclared kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.