Skip to contentSkip to conversation

swiotlb: Add missing kernel-doc function comments for swiotlb_del_transient

PATCH In review Yang Li 2 participants 2 messages Jul 12, 2024 – Jul 13, 2024 DMA mapping helpers

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 swiotlb: Add missing kernel-doc function comments for swiotlb_del_transient

Add kernel-doc style comments for swiotlb_del_transient function.

---
 kernel/dma/swiotlb.c | 1 +
 1 file changed, 1 insertion(+)
kernel/dma/swiotlb.c +1 -0
index b4d8167b2f8d..df68d29740a0 100644
@@ -1500,6 +1500,7 @@ static void swiotlb_release_slots(struct device *dev, phys_addr_t tlb_addr,
  * swiotlb_del_transient() - delete a transient memory pool
  * @dev:	Device which mapped the buffer.
  * @tlb_addr:	Physical address within a bounce buffer.
+ * @pool:       Pointer to the transient memory pool to be checked and deleted.
  *
  * Check whether the address belongs to a transient SWIOTLB memory pool.
  * If yes, then delete the pool.
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

The kernel-doc comment is not missing, the desctiption of the new paramter is. I've updated the commit log and dropped the pointless closes.

Thanks for the patch!