The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ilya Novikov <i.m.novikov@yadro.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Vinod Koul <vkoul@kernel.org>
Subject: [vkoul-dmaengine:next 26/38] drivers/dma/ptdma/ptdma-dmaengine.c:262:1: warning: no previous prototype for 'pt_tx_status'
Date: Thu, 21 Apr 2022 14:42:26 +0800	[thread overview]
Message-ID: <202204210451.7D2dVECE-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-04-21  6:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202204210451.7D2dVECE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=i.m.novikov@yadro.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vkoul@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox