Skip to contentSkip to conversation

dma-buf: Documentation: fix: `make htmldocs` warnings

PATCH In review Vitor Massaru Iha 4 participants 5 messages Apr 30, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma-buf: Documentation: fix: `make htmldocs` warnings

Add missed ":" on kernel-doc function parameter.

This patch fixes this warnings from make htmldocs:
./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_ops' not described in 'dma_buf_dynamic_attach' ./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_priv' not described in 'dma_buf_dynamic_attach'

---
 drivers/dma-buf/dma-buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma-buf/dma-buf.c +2 -2
index ccc9eda1bc28..0756d2155745 100644
@@ -655,8 +655,8 @@ EXPORT_SYMBOL_GPL(dma_buf_put);
  * calls attach() of dma_buf_ops to allow device-specific attach functionality
  * @dmabuf:		[in]	buffer to attach device to.
  * @dev:		[in]	device to be attached.
- * @importer_ops	[in]	importer operations for the attachment
- * @importer_priv	[in]	importer private pointer for the attachment
+ * @importer_ops:	[in]	importer operations for the attachment
+ * @importer_priv:	[in]	importer private pointer for the attachment
  *
  * Returns struct dma_buf_attachment pointer for this attachment. Attachments
  * must be cleaned up by calling dma_buf_detach().
Signature · 6 lines
2.25.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 17 lines · Vitor Massaru Iha

Add missed ":" on kernel-doc function parameter.

This patch fixes this warnings from make htmldocs:
./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_ops' not described in 'dma_buf_dynamic_attach' ./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_priv' not described in 'dma_buf_dynamic_attach'

---
 drivers/dma-buf/dma-buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma-buf/dma-buf.c +0 -0
index ccc9eda1bc28..0756d2155745 100644

drivers/dma-buf/dma-buf.c EXPORT_SYMBOL_GPL(dma_buf_put); · line 662

Quoted 10 lines
drivers/dma-buf/dma-buf.c +2 -2
@@ -655,8 +655,8 @@ EXPORT_SYMBOL_GPL(dma_buf_put);
  * calls attach() of dma_buf_ops to allow device-specific attach functionality
  * @dmabuf:		[in]	buffer to attach device to.
  * @dev:		[in]	device to be attached.
- * @importer_ops	[in]	importer operations for the attachment
- * @importer_priv	[in]	importer private pointer for the attachment
+ * @importer_ops:	[in]	importer operations for the attachment
+ * @importer_priv:	[in]	importer private pointer for the attachment
  *
  * Returns struct dma_buf_attachment pointer for this attachment. Attachments
  * must be cleaned up by calling dma_buf_detach().

Sumit said that he would be applying my patch from April 7:
https://lore.kernel.org/linux-media/[email protected]/

thanks.

Signature · 1 line
~Randy
#2 lore raw
Quoted 40 lines · Randy Dunlap
Quoted 26 lines · Vitor Massaru Iha

Add missed ":" on kernel-doc function parameter.

This patch fixes this warnings from make htmldocs:
./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_ops' not described in 'dma_buf_dynamic_attach' ./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_priv' not described in 'dma_buf_dynamic_attach'

---
 drivers/dma-buf/dma-buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma-buf/dma-buf.c +0 -0
index ccc9eda1bc28..0756d2155745 100644
@@ -655,8 +655,8 @@ EXPORT_SYMBOL_GPL(dma_buf_put);
  * calls attach() of dma_buf_ops to allow device-specific attach

functionality
* @dmabuf: [in] buffer to attach device to.
* @dev: [in] device to be attached.
- * @importer_ops [in] importer operations for the
attachment
- * @importer_priv [in] importer private pointer for the
attachment

Quoted 9 lines

+ * @importer_ops: [in] importer operations for the
attachment
+ * @importer_priv: [in] importer private pointer for the
attachment
*
* Returns struct dma_buf_attachment pointer for this attachment.
Attachments
* must be cleaned up by calling dma_buf_detach().

Sumit said that he would be applying my patch from April 7:
https://lore.kernel.org/linux-media/[email protected]/

Quoted 1 line

thanks.

Sorry. I didn't check if the patch has already been sent.

#3 lore raw
Quoted 41 lines · Vitor Massaru Iha
Quoted 40 lines · Randy Dunlap
Quoted 26 lines · Vitor Massaru Iha

Add missed ":" on kernel-doc function parameter.

This patch fixes this warnings from make htmldocs:
./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_ops' not described in 'dma_buf_dynamic_attach' ./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_priv' not described in 'dma_buf_dynamic_attach'

---
 drivers/dma-buf/dma-buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma-buf/dma-buf.c +0 -0
index ccc9eda1bc28..0756d2155745 100644
@@ -655,8 +655,8 @@ EXPORT_SYMBOL_GPL(dma_buf_put);
  * calls attach() of dma_buf_ops to allow device-specific attach

functionality
* @dmabuf: [in] buffer to attach device to.
* @dev: [in] device to be attached.
- * @importer_ops [in] importer operations for the
attachment
- * @importer_priv [in] importer private pointer for the
attachment

Quoted 9 lines

+ * @importer_ops: [in] importer operations for the
attachment
+ * @importer_priv: [in] importer private pointer for the
attachment
*
* Returns struct dma_buf_attachment pointer for this attachment.
Attachments
* must be cleaned up by calling dma_buf_detach().

Sumit said that he would be applying my patch from April 7:
https://lore.kernel.org/linux-media/[email protected]/

Quoted 3 lines
Quoted 1 line

thanks.

Sorry. I didn't check if the patch has already been sent.

Sumit - patch from Randy is neither applied to drm-misc-next nor drm-misc-fixes.
A reminder in case it was lost somewhere.

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer
#4 lore raw

Hello Everyone,

Quoted 43 lines · Sam Ravnborg
Quoted 41 lines · Vitor Massaru Iha
Quoted 40 lines · Randy Dunlap
Quoted 23 lines · Vitor Massaru Iha

Add missed ":" on kernel-doc function parameter.

This patch fixes this warnings from make htmldocs:
./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_ops' not described in 'dma_buf_dynamic_attach' ./drivers/dma-buf/dma-buf.c:678: warning: Function parameter or member 'importer_priv' not described in 'dma_buf_dynamic_attach'

---
 drivers/dma-buf/dma-buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma-buf/dma-buf.c +0 -0
index ccc9eda1bc28..0756d2155745 100644
@@ -655,8 +655,8 @@ EXPORT_SYMBOL_GPL(dma_buf_put);
  * calls attach() of dma_buf_ops to allow device-specific attach

functionality

  * @dmabuf:              [in]    buffer to attach device to.
  * @dev:         [in]    device to be attached.
- * @importer_ops [in]    importer operations for the
Quoted 12 lines

attachment
- * @importer_priv [in] importer private pointer for the
attachment
+ * @importer_ops: [in] importer operations for the
attachment
+ * @importer_priv: [in] importer private pointer for the
attachment
*
* Returns struct dma_buf_attachment pointer for this attachment.
Attachments
* must be cleaned up by calling dma_buf_detach().

Sumit said that he would be applying my patch from April 7:
https://lore.kernel.org/linux-media/[email protected]/

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

thanks.

Sorry. I didn't check if the patch has already been sent.

Sumit - patch from Randy is neither applied to drm-misc-next nor drm-misc-fixes.
A reminder in case it was lost somewhere.

My bad: I have now applied it to drm-misc-fixes, so should be seen in -next soon.

Quoted 2 lines

Sam

Best,
Sumit.