[linux-chenxing:mstar_v5_14_rebase_i2_drm 124/349] drivers/dma/mstar/mstar-msc313-bdma.c:251:6: warning: no previous prototype for 'msc313_bdma_issue_pending'

From: kernel test robot
Date: Sun Jul 18 2021 - 20:14:25 EST


tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase_i2_drm
head: 93dfb2364436067bf34c6d4ddcd282496182cc0f
commit: bab654419b8cf86c3d8d378c53ed9faf4dc18643 [124/349] ARM: mstar: msc313 bdma driver
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/bab654419b8cf86c3d8d378c53ed9faf4dc18643
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 bab654419b8cf86c3d8d378c53ed9faf4dc18643
# 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@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/dma/mstar/mstar-msc313-bdma.c:251:6: warning: no previous prototype for 'msc313_bdma_issue_pending' [-Wmissing-prototypes]
251 | void msc313_bdma_issue_pending(struct dma_chan *chan)
| ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/msc313_bdma_issue_pending +251 drivers/dma/mstar/mstar-msc313-bdma.c

250
> 251 void msc313_bdma_issue_pending(struct dma_chan *chan)
252 {
253 struct msc313_bdma_desc *desc;
254 struct msc313_bdma_chan *ch = to_chan(chan);
255 desc = list_first_entry_or_null(&ch->queue, struct msc313_bdma_desc, queue_node);
256 if(desc)
257 msc313_bdma_do_single(ch, desc);
258 }
259

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip