Skip to contentSkip to conversation

dma-buf: fix kernel-doc warning in dma-fence.c

PATCH In review Randy Dunlap 3 participants 5 messages Aug 31, 2020 – Sep 1, 2020

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

PATCH 1/1 dma-buf: fix kernel-doc warning in dma-fence.c

Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c:

../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or member 'cookie' not described in 'dma_fence_end_signalling'

---
 drivers/dma-buf/dma-fence.c |    1 +
 1 file changed, 1 insertion(+)
drivers/dma-buf/dma-fence.c +1 -0
@@ -283,6 +283,7 @@ EXPORT_SYMBOL(dma_fence_begin_signalling
 
 /**
  * dma_fence_end_signalling - end a critical DMA fence signalling section
+ * @cookie: opaque cookie from dma_fence_begin_signalling()
  *
  * Closes a critical section annotation opened by dma_fence_begin_signalling().
  */
maintainer Acked-by on v1 1/1
#1 lore raw

Am 31.08.20 um 06:17 schrieb Randy Dunlap:

Quoted 11 lines

Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c:

../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or member 'cookie' not described in 'dma_fence_end_signalling'

Quoted 14 lines
---
  drivers/dma-buf/dma-fence.c |    1 +
  1 file changed, 1 insertion(+)
drivers/dma-buf/dma-fence.c +1 -0
@@ -283,6 +283,7 @@ EXPORT_SYMBOL(dma_fence_begin_signalling
 
  /**
   * dma_fence_end_signalling - end a critical DMA fence signalling section
+ * @cookie: opaque cookie from dma_fence_begin_signalling()
   *
   * Closes a critical section annotation opened by dma_fence_begin_signalling().
   */
#2 lore raw
Quoted 6 lines · Christian König

Am 31.08.20 um 06:17 schrieb Randy Dunlap:

Quoted 5 lines

Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c:

../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or member 'cookie' not described in 'dma_fence_end_signalling'

Quoted 8 lines
Quoted 6 lines

Will you merge these two to drm-misc-fixes or should someone else?

Always a bit confusing when maintainers reply with acks/r-b but not what they'll do with the patch :-)

Cheers, Daniel

Quoted 19 lines
Quoted 8 lines
---
  drivers/dma-buf/dma-fence.c |    1 +
  1 file changed, 1 insertion(+)

drivers/dma-buf/dma-fence.c EXPORT_SYMBOL(dma_fence_begin_signalling · line 288

Quoted 6 lines
drivers/dma-buf/dma-fence.c +1 -0
@@ -283,6 +283,7 @@ EXPORT_SYMBOL(dma_fence_begin_signalling
  /**
   * dma_fence_end_signalling - end a critical DMA fence signalling section
+ * @cookie: opaque cookie from dma_fence_begin_signalling()
   *
   * Closes a critical section annotation opened by dma_fence_begin_signalling().
   */

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

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer
#3 lore raw

Am 01.09.20 um 15:32 schrieb Daniel Vetter:

Quoted 7 lines · Christian König
Quoted 6 lines

Am 31.08.20 um 06:17 schrieb Randy Dunlap:

Quoted 5 lines

Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c:

../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or member 'cookie' not described in 'dma_fence_end_signalling'

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Will you merge these two to drm-misc-fixes or should someone else?

I was wondering the same thing and just waiting for Randy to reply with please pick them up or I'm going to push them because I have commit access.

Regards,
Christian.

Quoted 23 lines

Always a bit confusing when maintainers reply with acks/r-b but not what they'll do with the patch :-)

Cheers, Daniel

Quoted 17 lines

drivers/dma-buf/dma-fence.c EXPORT_SYMBOL(dma_fence_begin_signalling · line 288

Quoted 13 lines
---
   drivers/dma-buf/dma-fence.c |    1 +
   1 file changed, 1 insertion(+)
drivers/dma-buf/dma-fence.c +1 -0
@@ -283,6 +283,7 @@ EXPORT_SYMBOL(dma_fence_begin_signalling
   /**
    * dma_fence_end_signalling - end a critical DMA fence signalling section
+ * @cookie: opaque cookie from dma_fence_begin_signalling()
    *
    * Closes a critical section annotation opened by dma_fence_begin_signalling().
    */

_______________________________________________
dri-devel mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fdri-devel&data=02%7C01%7Cchristian.koenig%40amd.com%7C4d8d43fbbb06475f964308d84e7b6a05%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637345639254630346&sdata=hxraBxca4oxH%2BsvRJaDT44kFp%2BAXlun2GaLYY6L6LdA%3D&reserved=0

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

#4 lore raw
Quoted 14 lines · Christian König

Am 01.09.20 um 15:32 schrieb Daniel Vetter:

Quoted 13 lines · Christian König
Quoted 12 lines

Am 31.08.20 um 06:17 schrieb Randy Dunlap:

Quoted 11 lines

Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c:

../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or member 'cookie' not described in 'dma_fence_end_signalling'

Quoted 4 lines
Quoted 2 lines
Quoted 1 line

Will you merge these two to drm-misc-fixes or should someone else?

I was wondering the same thing and just waiting for Randy to reply with please pick them up or I'm going to push them because I have commit access.

I didn't realize that was needed, but anyway, Christian, please apply these 2 dma-buf kernel-doc patches.

thanks.

Quoted 6 lines

Regards,
Christian.

Quoted 3 lines

Always a bit confusing when maintainers reply with acks/r-b but not what they'll do with the patch :-)

Agreed.

Quoted 18 lines
Quoted 18 lines

Cheers, Daniel

Quoted 16 lines

drivers/dma-buf/dma-fence.c EXPORT_SYMBOL(dma_fence_begin_signalling · line 288

Quoted 13 lines

---
   drivers/dma-buf/dma-fence.c |    1 +

   1 file changed, 1 insertion(+)
drivers/dma-buf/dma-fence.c +1 -0
@@ -283,6 +283,7 @@ EXPORT_SYMBOL(dma_fence_begin_signalling
    /**
     * dma_fence_end_signalling - end a critical DMA fence signalling section
+ * @cookie: opaque cookie from dma_fence_begin_signalling()
     *
     * Closes a critical section annotation opened by dma_fence_begin_signalling().
     */

_______________________________________________
dri-devel mailing list
[email protected]

Signature · 1 line
~Randy