All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/net/dsa/motorcomm/chip.c:3928:29: error: use of undeclared identifier 'priv'
Date: Tue, 29 Sep 2026 20:35:41 +0800	[thread overview]
Message-ID: <202609292029.Bs28dmhw-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Kyle-Switch/net-dsa-motorcomm-initialize-dsa_switch-based-on-chipid/20260929-105407, commit: f8eedf583837090fc6c8af9028daa5ae14066fd2"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
TO: Kyle Switch <kyle.switch@motor-comm.com>
CC: 0day robot <lkp@intel.com>

tree:   https://github.com/intel-lab-lkp/linux/commits/Kyle-Switch/net-dsa-motorcomm-initialize-dsa_switch-based-on-chipid/20260929-105407
head:   17230188d88553553a3648a5296554ff1e98926a
commit: f8eedf583837090fc6c8af9028daa5ae14066fd2 net: dsa: motorcomm: move mib stop from remove() to teardown()
date:   10 hours ago
:::::: branch date: 5 hours ago
:::::: commit date: 10 hours ago
config: hexagon-randconfig-1000-20260929 (https://download.01.org/0day-ci/archive/20260929/202609292029.Bs28dmhw-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5f609f950d2e80addf5566623013db68394334db)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260929/202609292029.Bs28dmhw-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202609292029.Bs28dmhw-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/dsa/motorcomm/chip.c:3928:29: error: use of undeclared identifier 'priv'
    3928 |         for (size_t i = ARRAY_SIZE(priv->ports); i-- > 0; ) {
         |                                    ^~~~
>> drivers/net/dsa/motorcomm/chip.c:3928:29: error: use of undeclared identifier 'priv'
    3928 |         for (size_t i = ARRAY_SIZE(priv->ports); i-- > 0; ) {
         |                                    ^~~~
>> drivers/net/dsa/motorcomm/chip.c:3928:29: error: use of undeclared identifier 'priv'
    3928 |         for (size_t i = ARRAY_SIZE(priv->ports); i-- > 0; ) {
         |                                    ^~~~
   drivers/net/dsa/motorcomm/chip.c:3929:29: error: use of undeclared identifier 'priv'
    3929 |                 struct yt921x_port *pp = &priv->ports[i];
         |                                           ^~~~
   4 errors generated.


vim +/priv +3928 drivers/net/dsa/motorcomm/chip.c

f8eedf58383709 Kyle Switch 2026-09-29  3927  
f8eedf58383709 Kyle Switch 2026-09-29 @3928  	for (size_t i = ARRAY_SIZE(priv->ports); i-- > 0; ) {
f8eedf58383709 Kyle Switch 2026-09-29  3929  		struct yt921x_port *pp = &priv->ports[i];
f8eedf58383709 Kyle Switch 2026-09-29  3930  
f8eedf58383709 Kyle Switch 2026-09-29  3931  		disable_delayed_work_sync(&pp->mib_read);
f8eedf58383709 Kyle Switch 2026-09-29  3932  	}
9af9a816821365 David Yang  2026-08-31  3933  }
9af9a816821365 David Yang  2026-08-31  3934  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-29 12:36 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=202609292029.Bs28dmhw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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.