From: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
To: <vkoul@kernel.org>
Cc: <michal.simek@xilinx.com>, <lars@metafoo.de>, <marex@denx.de>,
<dmaengine@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<git@amd.com>, Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Subject: [PATCH 2/2] dmaengine: xilinx_dma : add xilinx_dma_device_config() return documentation
Date: Tue, 25 Oct 2022 13:12:17 +0530 [thread overview]
Message-ID: <1666683737-7668-3-git-send-email-radhey.shyam.pandey@amd.com> (raw)
In-Reply-To: <1666683737-7668-1-git-send-email-radhey.shyam.pandey@amd.com>
document xilinx_dma_device_config() return value. Fixes below
kernel-doc warning.
xilinx_dma.c:1665: warning: No description found for return value
of 'xilinx_dma_device_config'
Fixes: 4153a7f6440f ("dmaengine: xilinx: Add empty device_config function")
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
---
drivers/dma/xilinx/xilinx_dma.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c
index 3b8cfeccf2da..a8d23cdf883e 100644
--- a/drivers/dma/xilinx/xilinx_dma.c
+++ b/drivers/dma/xilinx/xilinx_dma.c
@@ -1659,6 +1659,8 @@ static void xilinx_dma_issue_pending(struct dma_chan *dchan)
* xilinx_dma_device_config - Configure the DMA channel
* @dchan: DMA channel
* @config: channel configuration
+ *
+ * Return: 0 always.
*/
static int xilinx_dma_device_config(struct dma_chan *dchan,
struct dma_slave_config *config)
--
2.25.1
next prev parent reply other threads:[~2022-10-25 7:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 7:42 [PATCH 0/2] dmaengine: xilinx_dma: minor documentation updates Radhey Shyam Pandey
2022-10-25 7:42 ` [PATCH 1/2] dmaengine: xilinx_dma: fix xilinx_dma_child_probe() return documentation Radhey Shyam Pandey
2022-10-25 7:42 ` Radhey Shyam Pandey [this message]
2022-11-04 14:24 ` [PATCH 0/2] dmaengine: xilinx_dma: minor documentation updates 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=1666683737-7668-3-git-send-email-radhey.shyam.pandey@amd.com \
--to=radhey.shyam.pandey@amd.com \
--cc=dmaengine@vger.kernel.org \
--cc=git@amd.com \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=michal.simek@xilinx.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 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).