* [linux-chenxing:mstar_v5_14_rebase_i2_drm 243/349] drivers/dma/mstar/mstar-msc313-urdma.c:69:6: warning: no previous prototype for 'msc313_urdma_issue_pending'
@ 2021-07-19 2:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-19 2:16 UTC (permalink / raw)
To: Daniel Palmer; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2532 bytes --]
tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase_i2_drm
head: 93dfb2364436067bf34c6d4ddcd282496182cc0f
commit: c5e4acb2d1b28e7d0ccecb5a9232072ebfb29790 [243/349] dma: mstar: urdma
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 10.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
# https://github.com/linux-chenxing/linux/commit/c5e4acb2d1b28e7d0ccecb5a9232072ebfb29790
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing mstar_v5_14_rebase_i2_drm
git checkout c5e4acb2d1b28e7d0ccecb5a9232072ebfb29790
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/dma/mstar/mstar-msc313-urdma.c: In function 'msc313_urdma_irq':
drivers/dma/mstar/mstar-msc313-urdma.c:59:23: warning: unused variable 'urdma' [-Wunused-variable]
59 | struct msc313_urdma *urdma = data;
| ^~~~~
drivers/dma/mstar/mstar-msc313-urdma.c: At top level:
>> drivers/dma/mstar/mstar-msc313-urdma.c:69:6: warning: no previous prototype for 'msc313_urdma_issue_pending' [-Wmissing-prototypes]
69 | void msc313_urdma_issue_pending(struct dma_chan *chan){
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/dma/mstar/mstar-msc313-urdma.c: In function 'msc313_tx_submit':
>> drivers/dma/mstar/mstar-msc313-urdma.c:75:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
75 | struct msc313_urdma_desc *desc = to_desc(tx);
| ^~~~~~
vim +/msc313_urdma_issue_pending +69 drivers/dma/mstar/mstar-msc313-urdma.c
68
> 69 void msc313_urdma_issue_pending(struct dma_chan *chan){
70 printk("urdma issue pending\n");
71 }
72
73 static dma_cookie_t msc313_tx_submit(struct dma_async_tx_descriptor *tx){
74 struct msc313_urdma_chan *chan = to_chan(tx->chan);
> 75 struct msc313_urdma_desc *desc = to_desc(tx);
76 list_add_tail(&desc->queue_node, &chan->queue);
77 return chan->cookie++;
78 }
79
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67051 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-19 2:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 2:16 [linux-chenxing:mstar_v5_14_rebase_i2_drm 243/349] drivers/dma/mstar/mstar-msc313-urdma.c:69:6: warning: no previous prototype for 'msc313_urdma_issue_pending' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).