All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: kbuild-all@lists.01.org, linux-bluetooth@vger.kernel.org
Subject: [bluetooth-next:master 111/128] drivers/net/ethernet/mscc/ocelot.c:2920:14: error: 'IEEE_8021QAZ_MAX_TCS' undeclared
Date: Tue, 15 Mar 2022 07:01:57 +0800	[thread overview]
Message-ID: <202203150608.Rb0JPSVD-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-03-14 23:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202203150608.Rb0JPSVD-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=vladimir.oltean@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.