All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Allen Pais <allen.lkml@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 1/1] dmaengine: introduce dmaengine_bh_wq and bh helpers
Date: Wed, 14 Jan 2026 15:35:35 +0800	[thread overview]
Message-ID: <202601141510.JE2HHJ51-lkp@intel.com> (raw)
In-Reply-To: <20260108080332.2341725-2-allen.lkml@gmail.com>

Hi Allen,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on vkoul-dmaengine/next]
[also build test WARNING on shawnguo/for-next sunxi/sunxi/for-next soc/for-next linus/master v6.19-rc5 next-20260114]
[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/Allen-Pais/dmaengine-introduce-dmaengine_bh_wq-and-bh-helpers/20260108-164201
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link:    https://lore.kernel.org/r/20260108080332.2341725-2-allen.lkml%40gmail.com
patch subject: [RFC PATCH 1/1] dmaengine: introduce dmaengine_bh_wq and bh helpers
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20260114/202601141510.JE2HHJ51-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260114/202601141510.JE2HHJ51-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/202601141510.JE2HHJ51-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/dma/mediatek/mtk-hsdma.c:644:8: error: unknown type name 'irqreturn_t'
     644 | static irqreturn_t mtk_hsdma_irq(int irq, void *devid)
         |        ^~~~~~~~~~~
   drivers/dma/mediatek/mtk-hsdma.c: In function 'mtk_hsdma_irq':
   drivers/dma/mediatek/mtk-hsdma.c:656:16: error: 'IRQ_HANDLED' undeclared (first use in this function)
     656 |         return IRQ_HANDLED;
         |                ^~~~~~~~~~~
   drivers/dma/mediatek/mtk-hsdma.c:656:16: note: each undeclared identifier is reported only once for each function it appears in
   drivers/dma/mediatek/mtk-hsdma.c: In function 'mtk_hsdma_probe':
   drivers/dma/mediatek/mtk-hsdma.c:988:15: error: implicit declaration of function 'devm_request_irq'; did you mean 'devm_request_region'? [-Wimplicit-function-declaration]
     988 |         err = devm_request_irq(&pdev->dev, hsdma->irq,
         |               ^~~~~~~~~~~~~~~~
         |               devm_request_region
   drivers/dma/mediatek/mtk-hsdma.c: In function 'mtk_hsdma_remove':
   drivers/dma/mediatek/mtk-hsdma.c:1030:9: error: implicit declaration of function 'synchronize_irq'; did you mean 'synchronize_srcu'? [-Wimplicit-function-declaration]
    1030 |         synchronize_irq(hsdma->irq);
         |         ^~~~~~~~~~~~~~~
         |         synchronize_srcu
   drivers/dma/mediatek/mtk-hsdma.c: In function 'mtk_hsdma_irq':
>> drivers/dma/mediatek/mtk-hsdma.c:657:1: warning: control reaches end of non-void function [-Wreturn-type]
     657 | }
         | ^
--
   In file included from drivers/dma/sf-pdma/sf-pdma.c:26:
   drivers/dma/sf-pdma/sf-pdma.h:102:41: error: field 'done_tasklet' has incomplete type
     102 |         struct tasklet_struct           done_tasklet;
         |                                         ^~~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.h:103:41: error: field 'err_tasklet' has incomplete type
     103 |         struct tasklet_struct           err_tasklet;
         |                                         ^~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_donebh_tasklet':
   drivers/dma/sf-pdma/sf-pdma.c:300:37: error: implicit declaration of function 'from_tasklet' [-Wimplicit-function-declaration]
     300 |         struct sf_pdma_chan *chan = from_tasklet(chan, t, done_tasklet);
         |                                     ^~~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c:300:59: error: 'done_tasklet' undeclared (first use in this function)
     300 |         struct sf_pdma_chan *chan = from_tasklet(chan, t, done_tasklet);
         |                                                           ^~~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c:300:59: note: each undeclared identifier is reported only once for each function it appears in
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_errbh_tasklet':
   drivers/dma/sf-pdma/sf-pdma.c:324:59: error: 'err_tasklet' undeclared (first use in this function)
     324 |         struct sf_pdma_chan *chan = from_tasklet(chan, t, err_tasklet);
         |                                                           ^~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c: At top level:
   drivers/dma/sf-pdma/sf-pdma.c:344:8: error: unknown type name 'irqreturn_t'
     344 | static irqreturn_t sf_pdma_done_isr(int irq, void *dev_id)
         |        ^~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_done_isr':
   drivers/dma/sf-pdma/sf-pdma.c:355:17: error: implicit declaration of function 'tasklet_hi_schedule' [-Wimplicit-function-declaration]
     355 |                 tasklet_hi_schedule(&chan->done_tasklet);
         |                 ^~~~~~~~~~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c:369:16: error: 'IRQ_HANDLED' undeclared (first use in this function)
     369 |         return IRQ_HANDLED;
         |                ^~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c: At top level:
   drivers/dma/sf-pdma/sf-pdma.c:372:8: error: unknown type name 'irqreturn_t'
     372 | static irqreturn_t sf_pdma_err_isr(int irq, void *dev_id)
         |        ^~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_err_isr':
   drivers/dma/sf-pdma/sf-pdma.c:381:9: error: implicit declaration of function 'tasklet_schedule' [-Wimplicit-function-declaration]
     381 |         tasklet_schedule(&chan->err_tasklet);
         |         ^~~~~~~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c:383:16: error: 'IRQ_HANDLED' undeclared (first use in this function)
     383 |         return IRQ_HANDLED;
         |                ^~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_irq_init':
   drivers/dma/sf-pdma/sf-pdma.c:413:21: error: implicit declaration of function 'devm_request_irq'; did you mean 'devm_request_region'? [-Wimplicit-function-declaration]
     413 |                 r = devm_request_irq(&pdev->dev, irq, sf_pdma_done_isr, 0,
         |                     ^~~~~~~~~~~~~~~~
         |                     devm_request_region
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_setup_chans':
   drivers/dma/sf-pdma/sf-pdma.c:491:17: error: implicit declaration of function 'tasklet_setup'; did you mean 'timer_setup'? [-Wimplicit-function-declaration]
     491 |                 tasklet_setup(&chan->done_tasklet, sf_pdma_donebh_tasklet);
         |                 ^~~~~~~~~~~~~
         |                 timer_setup
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_remove':
   drivers/dma/sf-pdma/sf-pdma.c:603:17: error: implicit declaration of function 'devm_free_irq'; did you mean 'devm_free_pages'? [-Wimplicit-function-declaration]
     603 |                 devm_free_irq(&pdev->dev, ch->txirq, ch);
         |                 ^~~~~~~~~~~~~
         |                 devm_free_pages
   drivers/dma/sf-pdma/sf-pdma.c:606:17: error: implicit declaration of function 'tasklet_kill' [-Wimplicit-function-declaration]
     606 |                 tasklet_kill(&ch->vchan.task);
         |                 ^~~~~~~~~~~~
   drivers/dma/sf-pdma/sf-pdma.c:606:40: error: 'struct virt_dma_chan' has no member named 'task'
     606 |                 tasklet_kill(&ch->vchan.task);
         |                                        ^
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_err_isr':
>> drivers/dma/sf-pdma/sf-pdma.c:384:1: warning: control reaches end of non-void function [-Wreturn-type]
     384 | }
         | ^
   drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_done_isr':
   drivers/dma/sf-pdma/sf-pdma.c:370:1: warning: control reaches end of non-void function [-Wreturn-type]
     370 | }
         | ^
--
   drivers/dma/stm32/stm32-dma.c:760:8: error: unknown type name 'irqreturn_t'
     760 | static irqreturn_t stm32_dma_chan_irq(int irq, void *devid)
         |        ^~~~~~~~~~~
   drivers/dma/stm32/stm32-dma.c: In function 'stm32_dma_chan_irq':
   drivers/dma/stm32/stm32-dma.c:813:16: error: 'IRQ_HANDLED' undeclared (first use in this function)
     813 |         return IRQ_HANDLED;
         |                ^~~~~~~~~~~
   drivers/dma/stm32/stm32-dma.c:813:16: note: each undeclared identifier is reported only once for each function it appears in
   drivers/dma/stm32/stm32-dma.c: In function 'stm32_dma_probe':
   drivers/dma/stm32/stm32-dma.c:1669:23: error: implicit declaration of function 'devm_request_irq'; did you mean 'devm_request_region'? [-Wimplicit-function-declaration]
    1669 |                 ret = devm_request_irq(&pdev->dev, chan->irq,
         |                       ^~~~~~~~~~~~~~~~
         |                       devm_request_region
   drivers/dma/stm32/stm32-dma.c: In function 'stm32_dma_chan_irq':
>> drivers/dma/stm32/stm32-dma.c:814:1: warning: control reaches end of non-void function [-Wreturn-type]
     814 | }
         | ^
--
   drivers/dma/stm32/stm32-mdma.c:1399:8: error: unknown type name 'irqreturn_t'
    1399 | static irqreturn_t stm32_mdma_irq_handler(int irq, void *devid)
         |        ^~~~~~~~~~~
   drivers/dma/stm32/stm32-mdma.c: In function 'stm32_mdma_irq_handler':
   drivers/dma/stm32/stm32-mdma.c:1409:24: error: 'IRQ_NONE' undeclared (first use in this function)
    1409 |                 return IRQ_NONE;
         |                        ^~~~~~~~
   drivers/dma/stm32/stm32-mdma.c:1409:24: note: each undeclared identifier is reported only once for each function it appears in
   drivers/dma/stm32/stm32-mdma.c:1478:16: error: 'IRQ_HANDLED' undeclared (first use in this function)
    1478 |         return IRQ_HANDLED;
         |                ^~~~~~~~~~~
   drivers/dma/stm32/stm32-mdma.c: In function 'stm32_mdma_probe':
   drivers/dma/stm32/stm32-mdma.c:1714:15: error: implicit declaration of function 'devm_request_irq'; did you mean 'devm_request_region'? [-Wimplicit-function-declaration]
    1714 |         ret = devm_request_irq(&pdev->dev, dmadev->irq, stm32_mdma_irq_handler,
         |               ^~~~~~~~~~~~~~~~
         |               devm_request_region
   drivers/dma/stm32/stm32-mdma.c: In function 'stm32_mdma_irq_handler':
>> drivers/dma/stm32/stm32-mdma.c:1479:1: warning: control reaches end of non-void function [-Wreturn-type]
    1479 | }
         | ^
--
   drivers/dma/stm32/stm32-dma3.c:1012:8: error: unknown type name 'irqreturn_t'
    1012 | static irqreturn_t stm32_dma3_chan_irq(int irq, void *devid)
         |        ^~~~~~~~~~~
   drivers/dma/stm32/stm32-dma3.c: In function 'stm32_dma3_chan_irq':
   drivers/dma/stm32/stm32-dma3.c:1023:24: error: 'IRQ_NONE' undeclared (first use in this function)
    1023 |                 return IRQ_NONE;
         |                        ^~~~~~~~
   drivers/dma/stm32/stm32-dma3.c:1023:24: note: each undeclared identifier is reported only once for each function it appears in
   drivers/dma/stm32/stm32-dma3.c:1069:16: error: 'IRQ_HANDLED' undeclared (first use in this function)
    1069 |         return IRQ_HANDLED;
         |                ^~~~~~~~~~~
   drivers/dma/stm32/stm32-dma3.c: In function 'stm32_dma3_probe':
   drivers/dma/stm32/stm32-dma3.c:1894:23: error: implicit declaration of function 'devm_request_irq'; did you mean 'devm_request_region'? [-Wimplicit-function-declaration]
    1894 |                 ret = devm_request_irq(&pdev->dev, chan->irq, stm32_dma3_chan_irq, 0,
         |                       ^~~~~~~~~~~~~~~~
         |                       devm_request_region
   drivers/dma/stm32/stm32-dma3.c: In function 'stm32_dma3_chan_irq':
>> drivers/dma/stm32/stm32-dma3.c:1070:1: warning: control reaches end of non-void function [-Wreturn-type]
    1070 | }
         | ^


vim +657 drivers/dma/mediatek/mtk-hsdma.c

548c4597e984b7 Sean Wang 2018-03-15  643  
548c4597e984b7 Sean Wang 2018-03-15  644  static irqreturn_t mtk_hsdma_irq(int irq, void *devid)
548c4597e984b7 Sean Wang 2018-03-15  645  {
548c4597e984b7 Sean Wang 2018-03-15  646  	struct mtk_hsdma_device *hsdma = devid;
548c4597e984b7 Sean Wang 2018-03-15  647  
548c4597e984b7 Sean Wang 2018-03-15  648  	/*
548c4597e984b7 Sean Wang 2018-03-15  649  	 * Disable interrupt until all completed PDs are cleaned up in
548c4597e984b7 Sean Wang 2018-03-15  650  	 * mtk_hsdma_free_rooms call.
548c4597e984b7 Sean Wang 2018-03-15  651  	 */
548c4597e984b7 Sean Wang 2018-03-15  652  	mtk_dma_clr(hsdma, MTK_HSDMA_INT_ENABLE, MTK_HSDMA_INT_RXDONE);
548c4597e984b7 Sean Wang 2018-03-15  653  
548c4597e984b7 Sean Wang 2018-03-15  654  	mtk_hsdma_free_rooms_in_ring(hsdma);
548c4597e984b7 Sean Wang 2018-03-15  655  
548c4597e984b7 Sean Wang 2018-03-15  656  	return IRQ_HANDLED;
548c4597e984b7 Sean Wang 2018-03-15 @657  }
548c4597e984b7 Sean Wang 2018-03-15  658  

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

  parent reply	other threads:[~2026-01-14  7:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-08  8:03 [RFC PATCH 0/1] dmaengine: introduce dmaengine_bh_wq and bh helpers Allen Pais
2026-01-08  8:03 ` [RFC PATCH 1/1] " Allen Pais
2026-01-08 10:26   ` Arnd Bergmann
2026-01-08 19:22     ` Allen
2026-01-09 16:42       ` Arnd Bergmann
2026-01-12 22:20         ` Allen
2026-01-13  7:33           ` Arnd Bergmann
2026-01-13 19:31             ` Allen
2026-01-12  6:26   ` kernel test robot
2026-01-14  7:13   ` kernel test robot
2026-01-14  7:35   ` kernel test robot [this message]
2026-01-14  8:49   ` kernel test robot

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=202601141510.JE2HHJ51-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=allen.lkml@gmail.com \
    --cc=oe-kbuild-all@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.