[chenxing:mstar_v6_5_reorder 363/700] drivers/dma/mstar/mstar-msc313-bdma.c:782:13: warning: unused variable 'ret'
kernel test robot <[email protected]> Wed, 29 Jul 2026 22:51:01 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/linux-chenxing/linux.git mstar_v6_5_reorder head: 1a5c60e65ea399670a5384b869c4958338af2799 commit: 26178975043b0a83d96b42a14c44bb70fdb84d4b [363/700] dma: mstar: msc313 bdma driver config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20260729/[email protected]/config) compiler: arc-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260729/[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/mstar/mstar-msc313-bdma.c: In function 'msc313_bdma_remove': >> drivers/dma/mstar/mstar-msc313-bdma.c:782:13: warning: unused variable 'ret' [-Wunused-variable] 782 | int ret, i; | ^~~ drivers/dma/mstar/mstar-msc313-bdma.c:781:24: warning: unused variable 'dev' [-Wunused-variable] 781 | struct device *dev = &pdev->dev; | ^~~ vim +/ret +782 drivers/dma/mstar/mstar-msc313-bdma.c 777 778 static int msc313_bdma_remove(struct platform_device *pdev) 779 { 780 struct msc313_bdma *bdma = platform_get_drvdata(pdev); 781 struct device *dev = &pdev->dev; > 782 int ret, i; 783 784 of_dma_controller_free(pdev->dev.of_node); 785 786 for (i = 0; i < bdma->info->channels; i++){ 787 struct msc313_bdma_chan *chan = &bdma->chans[i]; 788 tasklet_kill(&chan[i].tasklet); 789 } 790 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki