tree:
https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git topic/tasklet
head: 59cd818763e8b12e85f28e27fa0a6821faf45660
commit: ab2a98ae4105d805383f840c54fabbb6560e2fc7 [66/81] dmaengine: pl330: convert
tasklets to use new tasklet_setup() API
config: arm64-randconfig-r006-20200918 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ab2a98ae4105d805383f840c54fabbb6560e2fc7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/dma/pl330.c: In function 'pl330_issue_pending':
> drivers/dma/pl330.c:2487:16: warning: passing argument 1 of
'pl330_tasklet' makes pointer from integer without a cast [-Wint-conversion]
2487 | pl330_tasklet((unsigned long)pch);
| ^~~~~~~~~~~~~~~~~~
| |
| long unsigned int
drivers/dma/pl330.c:2065:50: note: expected 'struct tasklet_struct *' but
argument is of type 'long unsigned int'
2065 | static void pl330_tasklet(struct tasklet_struct *t)
| ~~~~~~~~~~~~~~~~~~~~~~~^
#
https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/commi...
git remote add vkoul-dmaengine
https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git
git fetch --no-tags vkoul-dmaengine topic/tasklet
git checkout ab2a98ae4105d805383f840c54fabbb6560e2fc7
vim +/pl330_tasklet +2487 drivers/dma/pl330.c
b3040e40675ec2c Jassi Brar 2010-05-23 2467
b3040e40675ec2c Jassi Brar 2010-05-23 2468 static void
pl330_issue_pending(struct dma_chan *chan)
b3040e40675ec2c Jassi Brar 2010-05-23 2469 {
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2470 struct dma_pl330_chan *pch =
to_pchan(chan);
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2471 unsigned long flags;
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2472
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2473
spin_lock_irqsave(&pch->lock, flags);
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2474 if
(list_empty(&pch->work_list)) {
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2475 /*
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2476 * Warn on nothing pending. Empty
submitted_list may
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2477 * break our pm_runtime usage
counter as it is
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2478 * updated on work_list emptiness
status.
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2479 */
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2480
WARN_ON(list_empty(&pch->submitted_list));
5c9e6c2b2ba3ec3 Marek Szyprowski 2016-12-16 2481 pch->active = true;
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2482
pm_runtime_get_sync(pch->dmac->ddma.dev);
ae43b3289186480 Krzysztof Kozlowski 2014-11-14 2483 }
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2484
list_splice_tail_init(&pch->submitted_list, &pch->work_list);
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2485
spin_unlock_irqrestore(&pch->lock, flags);
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 2486
04abf5daf7df852 Lars-Peter Clausen 2014-01-11 @2487 pl330_tasklet((unsigned long)pch);
b3040e40675ec2c Jassi Brar 2010-05-23 2488 }
b3040e40675ec2c Jassi Brar 2010-05-23 2489
:::::: The code at line 2487 was first introduced by commit
:::::: 04abf5daf7df852566e5a4782d5954daa40e2542 dma: pl330: Differentiate between
submitted and issued descriptors
:::::: TO: Lars-Peter Clausen <lars(a)metafoo.de>
:::::: CC: Vinod Koul <vinod.koul(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org