linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name()
@ 2020-08-19 17:51 Krzysztof Kozlowski
  2020-08-19 17:51 ` [RESEND PATCH 2/2] dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc Krzysztof Kozlowski
  2020-08-20  3:46 ` [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name() Sumit Semwal
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-19 17:51 UTC (permalink / raw)
  To: Sumit Semwal, Christian König, Gustavo Padovan, linux-media,
	dri-devel, linaro-mm-sig, linux-kernel
  Cc: Krzysztof Kozlowski

Fix W=1 compile warnings (invalid kerneldoc):

    drivers/dma-buf/dma-buf.c:328: warning: Function parameter or member 'dmabuf' not described in 'dma_buf_set_name'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/dma-buf/dma-buf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index 1699a8e309ef..58564d82a3a2 100644
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/dma-buf/dma-buf.c
@@ -316,9 +316,9 @@ static __poll_t dma_buf_poll(struct file *file, poll_table *poll)
  * name of the dma-buf if the same piece of memory is used for multiple
  * purpose between different devices.
  *
- * @dmabuf [in]     dmabuf buffer that will be renamed.
- * @buf:   [in]     A piece of userspace memory that contains the name of
- *                  the dma-buf.
+ * @dmabuf: [in]     dmabuf buffer that will be renamed.
+ * @buf:    [in]     A piece of userspace memory that contains the name of
+ *                   the dma-buf.
  *
  * Returns 0 on success. If the dma-buf buffer is already attached to
  * devices, return -EBUSY.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [RESEND PATCH 2/2] dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc
  2020-08-19 17:51 [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name() Krzysztof Kozlowski
@ 2020-08-19 17:51 ` Krzysztof Kozlowski
  2020-08-20  3:46 ` [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name() Sumit Semwal
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-19 17:51 UTC (permalink / raw)
  To: Sumit Semwal, Christian König, Gustavo Padovan, linux-media,
	dri-devel, linaro-mm-sig, linux-kernel
  Cc: Krzysztof Kozlowski

Fix W=1 compile warnings (invalid kerneldoc):

    drivers/dma-buf/dma-fence-chain.c:233: warning: Function parameter or member 'seqno' not described in 'dma_fence_chain_init'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/dma-buf/dma-fence-chain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma-buf/dma-fence-chain.c b/drivers/dma-buf/dma-fence-chain.c
index 3d123502ff12..7d129e68ac70 100644
--- a/drivers/dma-buf/dma-fence-chain.c
+++ b/drivers/dma-buf/dma-fence-chain.c
@@ -222,6 +222,7 @@ EXPORT_SYMBOL(dma_fence_chain_ops);
  * @chain: the chain node to initialize
  * @prev: the previous fence
  * @fence: the current fence
+ * @seqno: the sequence number to use for the fence chain
  *
  * Initialize a new chain node and either start a new chain or add the node to
  * the existing chain of the previous fence.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name()
  2020-08-19 17:51 [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name() Krzysztof Kozlowski
  2020-08-19 17:51 ` [RESEND PATCH 2/2] dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc Krzysztof Kozlowski
@ 2020-08-20  3:46 ` Sumit Semwal
  1 sibling, 0 replies; 3+ messages in thread
From: Sumit Semwal @ 2020-08-20  3:46 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Christian König, Gustavo Padovan,
	open list:DMA BUFFER SHARING FRAMEWORK, DRI mailing list,
	Linaro MM SIG, LKML

Hello Krzystof,

On Wed, 19 Aug 2020 at 23:21, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> Fix W=1 compile warnings (invalid kerneldoc):
>
>     drivers/dma-buf/dma-buf.c:328: warning: Function parameter or member 'dmabuf' not described in 'dma_buf_set_name'

Thanks for the patch; I will apply it to drm-misc.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  drivers/dma-buf/dma-buf.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
> index 1699a8e309ef..58564d82a3a2 100644
> --- a/drivers/dma-buf/dma-buf.c
> +++ b/drivers/dma-buf/dma-buf.c
> @@ -316,9 +316,9 @@ static __poll_t dma_buf_poll(struct file *file, poll_table *poll)
>   * name of the dma-buf if the same piece of memory is used for multiple
>   * purpose between different devices.
>   *
> - * @dmabuf [in]     dmabuf buffer that will be renamed.
> - * @buf:   [in]     A piece of userspace memory that contains the name of
> - *                  the dma-buf.
> + * @dmabuf: [in]     dmabuf buffer that will be renamed.
> + * @buf:    [in]     A piece of userspace memory that contains the name of
> + *                   the dma-buf.
>   *
>   * Returns 0 on success. If the dma-buf buffer is already attached to
>   * devices, return -EBUSY.
> --
> 2.17.1
>

Best,
Sumit

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-20  3:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 17:51 [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name() Krzysztof Kozlowski
2020-08-19 17:51 ` [RESEND PATCH 2/2] dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc Krzysztof Kozlowski
2020-08-20  3:46 ` [RESEND PATCH 1/2] dma-buf: Fix kerneldoc of dma_buf_set_name() Sumit Semwal

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).