All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 3282/4370] drivers/net/dsa/motorcomm/chip.c:4229:22: warning: unused variable 'priv'
@ 2026-09-05  9:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-05  9:58 UTC (permalink / raw)
  To: David Yang; +Cc: oe-kbuild-all, Jakub Kicinski, Andrew Lunn

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   af5f12805e5cefa4fe68d6127c7e1fb78cd5535c
commit: 9af9a816821365e57736307bfdfcf06d89065556 [3282/4370] net: dsa: motorcomm: Add LED support
config: mips-randconfig-r061-20260905 (https://download.01.org/0day-ci/archive/20260905/202609051727.O4ApRZZK-lkp@intel.com/config)
compiler: mips64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609051727.O4ApRZZK-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/oe-kbuild-all/202609051727.O4ApRZZK-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/dsa/motorcomm/chip.c: In function 'yt921x_dsa_teardown':
>> drivers/net/dsa/motorcomm/chip.c:4229:22: warning: unused variable 'priv' [-Wunused-variable]
     struct yt921x_priv *priv = to_yt921x_priv(ds);
                         ^~~~


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

  4226	
  4227	static void yt921x_dsa_teardown(struct dsa_switch *ds)
  4228	{
> 4229		struct yt921x_priv *priv = to_yt921x_priv(ds);
  4230	

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

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

only message in thread, other threads:[~2026-09-05  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  9:58 [linux-next:master 3282/4370] drivers/net/dsa/motorcomm/chip.c:4229:22: warning: unused variable 'priv' 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.