Message ID | 20220421092143.18281-1-i.m.novikov@yadro.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e235fe3bcf831dabd67bc2d9b75cad53311a16ec |
Headers | show |
Series | dmaengine: PTDMA: statify pt_tx_status | expand |
On 21-04-22, 12:21, i.m.novikov@yadro.com wrote: > 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] I have applied 20220421052407.745637-1-vkoul@kernel.org which was sent before this
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) {