From: "Andreas Färber" <afaerber@suse.de>
To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: vkoul@kernel.org, dmaengine@vger.kernel.org,
liuwei@actions-semi.com, 96boards@ucrobotics.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, hzhang@ucrobotics.com,
bdong@ucrobotics.com, manivannanece23@gmail.com,
thomas.liau@actions-semi.com, pn@denx.de,
edgar.righi@lsitec.org.br
Subject: Re: [PATCH] dmaengine: owl: Fix warnings generated during build
Date: Mon, 8 Oct 2018 20:26:53 +0200 [thread overview]
Message-ID: <411d45f8-6024-925e-ffde-f65351b3a09a@suse.de> (raw)
In-Reply-To: <20181008171631.5603-1-manivannan.sadhasivam@linaro.org>
Am 08.10.18 um 19:16 schrieb Manivannan Sadhasivam:
> Following warnings are generated when compiled with W=1,
>
> drivers/dma/owl-dma.c:170: warning: Function parameter or member 'cyclic'
> not described in 'owl_dma_txd'
> drivers/dma/owl-dma.c:198: warning: Function parameter or member 'cfg' not
> described in 'owl_dma_vchan'
> drivers/dma/owl-dma.c:198: warning: Function parameter or member 'drq' not
> described in 'owl_dma_vchan'
> drivers/dma/owl-dma.c:225: warning: Function parameter or member 'irq' not
> described in 'owl_dma'
>
> Fix this by adding comments for relevant struct members to appear in
> kernel-doc.
>
> Fixes: d64e1b3f5cce ("dmaengine: owl: Add Slave and Cyclic mode support for
> Actions Semi Owl S900 SoC")
If possible, one line please, and it could go between Reported-by and
Signed-off-by below without extra white lines.
Otherwise looks okay,
Reviewed-by: Andreas Färber <afaerber@suse.de>
Thanks,
Andreas
>
> Reported-by: Vinod Koul <vinod.koul@linaro.org>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
> drivers/dma/owl-dma.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/dma/owl-dma.c b/drivers/dma/owl-dma.c
> index 1d26db4c9229..90bbcef99ef8 100644
> --- a/drivers/dma/owl-dma.c
> +++ b/drivers/dma/owl-dma.c
> @@ -162,6 +162,7 @@ struct owl_dma_lli {
> * struct owl_dma_txd - Wrapper for struct dma_async_tx_descriptor
> * @vd: virtual DMA descriptor
> * @lli_list: link list of lli nodes
> + * @cyclic: flag to indicate cyclic transfers
> */
> struct owl_dma_txd {
> struct virt_dma_desc vd;
> @@ -188,6 +189,8 @@ struct owl_dma_pchan {
> * @vc: wrappped virtual channel
> * @pchan: the physical channel utilized by this channel
> * @txd: active transaction on this channel
> + * @cfg: slave configuration for this channel
> + * @drq: physical DMA request ID for this channel
> */
> struct owl_dma_vchan {
> struct virt_dma_chan vc;
> @@ -204,6 +207,7 @@ struct owl_dma_vchan {
> * @clk: clock for the DMA controller
> * @lock: a lock to use when change DMA controller global register
> * @lli_pool: a pool for the LLI descriptors
> + * @irq: interrupt ID for the DMA controller
> * @nr_pchans: the number of physical channels
> * @pchans: array of data for the physical channels
> * @nr_vchans: the number of physical channels
>
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
next prev parent reply other threads:[~2018-10-08 18:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-08 17:16 Manivannan Sadhasivam
2018-10-08 18:26 ` Andreas Färber [this message]
2018-10-15 17:10 ` Vinod
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=411d45f8-6024-925e-ffde-f65351b3a09a@suse.de \
--to=afaerber@suse.de \
--cc=96boards@ucrobotics.com \
--cc=bdong@ucrobotics.com \
--cc=dmaengine@vger.kernel.org \
--cc=edgar.righi@lsitec.org.br \
--cc=hzhang@ucrobotics.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liuwei@actions-semi.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=manivannanece23@gmail.com \
--cc=pn@denx.de \
--cc=thomas.liau@actions-semi.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
all inboxes | Powered by JetHome®