Hi Koichiro, kernel test robot noticed the following build warnings:
[auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus linus/master v6.19-rc8 next-20260205] [cannot apply to vkoul-dmaengine/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Koichiro-Den/dmaengine-dw-edma-Add-per-channel-interrupt-routing-control/20260207-013042 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20260206172646.1556847-4-den%40valinux.co.jp patch subject: [PATCH v4 3/9] dmaengine: dw-edma: Export per-channel IRQ and doorbell register offset config: arc-randconfig-002-20260208 (https://download.01.org/0day-ci/archive/20260208/[email protected]/config) compiler: arc-linux-gcc (GCC) 12.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260208/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): drivers/dma/dw-edma/dw-edma-core.c: In function 'dw_edma_chan_info': >> drivers/dma/dw-edma/dw-edma-core.c:1109:26: warning: variable 'dchan' set >> but not used [-Wunused-but-set-variable] 1109 | struct dma_chan *dchan; | ^~~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for CAN_DEV Depends on [n]: NETDEVICES [=n] && CAN [=y] Selected by [y]: - CAN [=y] && NET [=y] vim +/dchan +1109 drivers/dma/dw-edma/dw-edma-core.c 1103 1104 int dw_edma_chan_info(struct dw_edma_chip *chip, unsigned int ch_idx, 1105 struct dw_edma_chan_info *info) 1106 { 1107 struct dw_edma *dw = chip->dw; 1108 struct dw_edma_chan *chan; > 1109 struct dma_chan *dchan; 1110 u32 ch_cnt; 1111 int ret; 1112 1113 if (!chip || !info || !dw) 1114 return -EINVAL; 1115 1116 ch_cnt = dw->wr_ch_cnt + dw->rd_ch_cnt; 1117 if (ch_idx >= ch_cnt) 1118 return -EINVAL; 1119 1120 chan = &dw->chan[ch_idx]; 1121 dchan = &chan->vc.chan; 1122 1123 ret = dw_edma_core_ch_info(dw, chan, info); 1124 if (ret) 1125 return ret; 1126 1127 info->irq = dw->irq[chan->irq_idx].irq; 1128 return 0; 1129 } 1130 EXPORT_SYMBOL_GPL(dw_edma_chan_info); 1131 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki

