All of lore.kernel.org
 help / color / mirror / Atom feed
* [chenxing:mstar_v6_5_reorder 428/700] drivers/dma/mstar/mstar-msc313-urdma.c:411:30: warning: unused variable 'urdma'
@ 2026-08-03  3:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-03  3:35 UTC (permalink / raw)
  To: Daniel Palmer; +Cc: oe-kbuild-all

tree:   https://github.com/linux-chenxing/linux.git mstar_v6_5_reorder
head:   1a5c60e65ea399670a5384b869c4958338af2799
commit: 7835e2083509e8c5bb48c0e7a459adbd8fc2d23a [428/700] dma: mstar: msc313 urdma: transfer handling implementation
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260803/202608031013.CMw7xEVK-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260803/202608031013.CMw7xEVK-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/202608031013.CMw7xEVK-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/dma/mstar/mstar-msc313-urdma.c: In function 'msc313_urdma_terminate_all':
>> drivers/dma/mstar/mstar-msc313-urdma.c:411:30: warning: unused variable 'urdma' [-Wunused-variable]
     411 |         struct msc313_urdma *urdma = ch->urdma;
         |                              ^~~~~
   At top level:
   drivers/dma/mstar/mstar-msc313-urdma.c:676:12: warning: 'msc313_urdma_resume' defined but not used [-Wunused-function]
     676 | static int msc313_urdma_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~
   drivers/dma/mstar/mstar-msc313-urdma.c:667:12: warning: 'msc313_urdma_suspend' defined but not used [-Wunused-function]
     667 | static int msc313_urdma_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~
   drivers/dma/mstar/mstar-msc313-urdma.c:31:31: warning: 'ctrl_rx_op_mode' defined but not used [-Wunused-const-variable=]
      31 | static const struct reg_field ctrl_rx_op_mode   = REG_FIELD(REG_CTRL, 11, 11);
         |                               ^~~~~~~~~~~~~~~


vim +/urdma +411 drivers/dma/mstar/mstar-msc313-urdma.c

   407	
   408	static int msc313_urdma_terminate_all(struct dma_chan *chan)
   409	{
   410		struct msc313_urdma_chan *ch = to_chan(chan);
 > 411		struct msc313_urdma *urdma = ch->urdma;
   412	
   413		printk("%s:%d\n", __func__, __LINE__);
   414	
   415		/* End the running job if there is one */
   416		msc313_urdma_terminate_inflight(ch);
   417	
   418		/* make sure the tasklet runs */
   419		schedule();
   420	
   421		return 0;
   422	}
   423	

--
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-08-03  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-03  3:35 [chenxing:mstar_v6_5_reorder 428/700] drivers/dma/mstar/mstar-msc313-urdma.c:411:30: warning: unused variable 'urdma' 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.