* [vkoul-dmaengine:next 26/38] drivers/dma/ptdma/ptdma-dmaengine.c:262:1: warning: no previous prototype for 'pt_tx_status'
@ 2022-04-21 6:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-21 6:42 UTC (permalink / raw)
To: Ilya Novikov; +Cc: kbuild-all, linux-kernel, Vinod Koul
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
head: 643a4a85b0bc7efeb5732fb4563c43c77ba0c6ac
commit: d965068259d13fde49487b45064106d3d0c57a74 [26/38] dmaengine: PTDMA: support polled mode
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220421/202204210451.7D2dVECE-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/commit/?id=d965068259d13fde49487b45064106d3d0c57a74
git remote add vkoul-dmaengine https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git
git fetch --no-tags vkoul-dmaengine next
git checkout d965068259d13fde49487b45064106d3d0c57a74
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/dma/ptdma/
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/ptdma/ptdma-dmaengine.c:262:1: warning: no previous prototype for 'pt_tx_status' [-Wmissing-prototypes]
262 | pt_tx_status(struct dma_chan *c, dma_cookie_t cookie,
| ^~~~~~~~~~~~
vim +/pt_tx_status +262 drivers/dma/ptdma/ptdma-dmaengine.c
260
261 enum dma_status
> 262 pt_tx_status(struct dma_chan *c, dma_cookie_t cookie,
263 struct dma_tx_state *txstate)
264 {
265 struct pt_device *pt = to_pt_chan(c)->pt;
266 struct pt_cmd_queue *cmd_q = &pt->cmd_q;
267
268 pt_check_status_trans(pt, cmd_q);
269 return dma_cookie_status(c, cookie, txstate);
270 }
271
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 6:42 [vkoul-dmaengine:next 26/38] drivers/dma/ptdma/ptdma-dmaengine.c:262:1: warning: no previous prototype for 'pt_tx_status' 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).