All of lore.kernel.org
 help / color / mirror / Atom feed
From: <i.m.novikov@yadro.com>
To: <vkoul@kernel.org>
Cc: <i.m.novikov@yadro.com>, <sanju.mehta@amd.com>,
	<dmaengine@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux@yadro.com>, kernel test robot <lkp@intel.com>
Subject: [PATCH] dmaengine: PTDMA: statify pt_tx_status
Date: Thu, 21 Apr 2022 12:21:43 +0300	[thread overview]
Message-ID: <20220421092143.18281-1-i.m.novikov@yadro.com> (raw)

From: Ilya Novikov <i.m.novikov@yadro.com>

LKP bot reports a new warning:
Warning:
drivers/dma/ptdma/ptdma-dmaengine.c:262:1: warning: no previous
prototype for 'pt_tx_status' [-Wmissing-prototypes]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ilya Novikov <i.m.novikov@yadro.com>
---
 drivers/dma/ptdma/ptdma-dmaengine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/ptdma/ptdma-dmaengine.c b/drivers/dma/ptdma/ptdma-dmaengine.c
index ea07cc42f4d0..cc22d162ce25 100644
--- a/drivers/dma/ptdma/ptdma-dmaengine.c
+++ b/drivers/dma/ptdma/ptdma-dmaengine.c
@@ -258,7 +258,7 @@ static void pt_issue_pending(struct dma_chan *dma_chan)
 		pt_cmd_callback(desc, 0);
 }
 
-enum dma_status
+static enum dma_status
 pt_tx_status(struct dma_chan *c, dma_cookie_t cookie,
 		struct dma_tx_state *txstate)
 {
-- 
2.25.1


             reply	other threads:[~2022-04-21  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21  9:21 i.m.novikov [this message]
2022-04-22  6:00 ` [PATCH] dmaengine: PTDMA: statify pt_tx_status Vinod Koul
  -- strict thread matches above, loose matches on Subject: below --
2022-04-21  5:24 [PATCH] dmaengine: ptdma: " Vinod Koul
2022-04-22  5:59 ` Vinod Koul

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=20220421092143.18281-1-i.m.novikov@yadro.com \
    --to=i.m.novikov@yadro.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@yadro.com \
    --cc=lkp@intel.com \
    --cc=sanju.mehta@amd.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.