Skip to contentSkip to conversation

dma-buf: Fix kerneldoc formatting

PATCH In review Daniel Vetter 4 participants 4 messages Dec 4, 2020 – Dec 9, 2020

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

PATCH 1/1 dma-buf: Fix kerneldoc formatting

I wanted to look up something and noticed the hyperlink doesn't work. While fixing that also noticed a trivial kerneldoc comment typo in the same section, fix that too.

---
 Documentation/driver-api/dma-buf.rst | 2 +-
 include/linux/dma-buf-map.h          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/driver-api/dma-buf.rst +1 -1
index d6b2a195dbed..a2133d69872c 100644
@@ -190,7 +190,7 @@ DMA Fence uABI/Sync File
 Indefinite DMA Fences
 ~~~~~~~~~~~~~~~~~~~~~
 
-At various times &dma_fence with an indefinite time until dma_fence_wait()
+At various times struct dma_fence with an indefinite time until dma_fence_wait()
 finishes have been proposed. Examples include:
 
 * Future fences, used in HWC1 to signal when a buffer isn't used by the display
include/linux/dma-buf-map.h +1 -1
index 583a3a1f9447..278d489e4bdd 100644
@@ -122,7 +122,7 @@ struct dma_buf_map {
 
 /**
  * DMA_BUF_MAP_INIT_VADDR - Initializes struct dma_buf_map to an address in system memory
- * @vaddr:	A system-memory address
+ * @vaddr_:	A system-memory address
  */
 #define DMA_BUF_MAP_INIT_VADDR(vaddr_) \
 	{ \
Signature · 6 lines
2.29.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#2 lore raw
In reply to Daniel Vetter

include/linux/dma-buf-map.h

Quoted 36 lines

-----Original Message-----
From: dri-devel <[email protected]> On Behalf Of Daniel Vetter
Sent: Friday, December 4, 2020 3:03 PM
To: DRI Development <[email protected]>
Cc: Daniel Vetter <[email protected]>; Vetter, Daniel <[email protected]>
Subject: [PATCH] dma-buf: Fix kerneldoc formatting

I wanted to look up something and noticed the hyperlink doesn't work. While fixing that also noticed a trivial kerneldoc comment typo in the same section, fix that too.

---
Documentation/driver-api/dma-buf.rst | 2 +-
include/linux/dma-buf-map.h | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/driver- renamed from Documentation/driver-api/dma-buf.rst +0 -0

api/dma-buf.rst
index d6b2a195dbed..a2133d69872c 100644

Documentation/driver-api/dma-buf.rst +0 -0
@@ -190,7 +190,7 @@ DMA Fence uABI/Sync File

Indefinite DMA Fences
~~~~~~~~~~~~~~~~~~~~~

Documentation/driver-api/dma-buf.rst +1 -1
-At various times &dma_fence with an indefinite time until dma_fence_wait()
+At various times struct dma_fence with an indefinite time until

dma_fence_wait()
finishes have been proposed. Examples include:

* Future fences, used in HWC1 to signal when a buffer isn't used by the display

include/linux/dma-buf-map.h +0 -0

Ahh, something to do while compiling...

Both changes look good to me.

M

Quoted 13 lines

index 583a3a1f9447..278d489e4bdd 100644

include/linux/dma-buf-map.h +0 -0
@@ -122,7 +122,7 @@ struct dma_buf_map {
 
 /**
 * DMA_BUF_MAP_INIT_VADDR - Initializes struct dma_buf_map to an

address in system memory
- * @vaddr: A system-memory address
+ * @vaddr_: A system-memory address
*/

#define DMA_BUF_MAP_INIT_VADDR(vaddr_) \
	{ \
Quoted 7 lines

--
2.29.2

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

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

#3 lore raw
Quoted 39 lines · Michael J

include/linux/dma-buf-map.h

Quoted 36 lines

-----Original Message-----
From: dri-devel <[email protected]> On Behalf Of Daniel Vetter
Sent: Friday, December 4, 2020 3:03 PM
To: DRI Development <[email protected]>
Cc: Daniel Vetter <[email protected]>; Vetter, Daniel <[email protected]>
Subject: [PATCH] dma-buf: Fix kerneldoc formatting

I wanted to look up something and noticed the hyperlink doesn't work. While fixing that also noticed a trivial kerneldoc comment typo in the same section, fix that too.

---
Documentation/driver-api/dma-buf.rst | 2 +-
include/linux/dma-buf-map.h | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/driver- renamed from Documentation/driver-api/dma-buf.rst +0 -0

api/dma-buf.rst
index d6b2a195dbed..a2133d69872c 100644

Documentation/driver-api/dma-buf.rst +0 -0
@@ -190,7 +190,7 @@ DMA Fence uABI/Sync File

Indefinite DMA Fences
~~~~~~~~~~~~~~~~~~~~~

Documentation/driver-api/dma-buf.rst +1 -1
-At various times &dma_fence with an indefinite time until dma_fence_wait()
+At various times struct dma_fence with an indefinite time until

dma_fence_wait()
finishes have been proposed. Examples include:

* Future fences, used in HWC1 to signal when a buffer isn't used by the display

include/linux/dma-buf-map.h +0 -0

Ahh, something to do while compiling...

Quoted 3 lines

Both changes look good to me.

Thanks for taking a look, patch applied.
-Daniel

Quoted 23 lines

M

Quoted 20 lines

index 583a3a1f9447..278d489e4bdd 100644

include/linux/dma-buf-map.h +0 -0
@@ -122,7 +122,7 @@ struct dma_buf_map {
 
 /**
 * DMA_BUF_MAP_INIT_VADDR - Initializes struct dma_buf_map to an

address in system memory
- * @vaddr: A system-memory address
+ * @vaddr_: A system-memory address
*/

#define DMA_BUF_MAP_INIT_VADDR(vaddr_) \
	{ \

--
2.29.2

_______________________________________________
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