Skip to contentSkip to conversation

RDMA/restrack: fix kernel-doc indicator

PATCH Applied Randy Dunlap 2 participants 2 messages Feb 24 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/restrack: fix kernel-doc indicator

Use "/**" to begin kernel-doc comments. This eliminates these kernel-doc warnings:

Warning: include/rdma/restrack.h:123 struct member 'kref' not described in
'rdma_restrack_entry'
Warning: include/rdma/restrack.h:123 struct member 'comp' not described in
'rdma_restrack_entry'

(not adding missing return value kernel-doc descriptions)

---
Cc: Jason Gunthorpe <[email protected]>
Cc: Leon Romanovsky <[email protected]>

 include/rdma/restrack.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/rdma/restrack.h +2 -2
@@ -87,11 +87,11 @@ struct rdma_restrack_entry {
 	 * query stage.
 	 */
 	u8			no_track : 1;
-	/*
+	/**
 	 * @kref: Protect destroy of the resource
 	 */
 	struct kref		kref;
-	/*
+	/**
 	 * @comp: Signal that all consumers of resource are completed their work
 	 */
 	struct completion	comp;
#1 lore raw
Quoted 9 lines · Randy Dunlap

Use "/**" to begin kernel-doc comments. This eliminates these kernel-doc warnings:

Warning: include/rdma/restrack.h:123 struct member 'kref' not described in
'rdma_restrack_entry'
Warning: include/rdma/restrack.h:123 struct member 'comp' not described in
'rdma_restrack_entry'

[...]

Applied, thanks!

[1/1] RDMA/restrack: fix kernel-doc indicator

      https://git.kernel.org/rdma/rdma/c/2865500db9339b

Best regards,

Signature · 1 line
Leon Romanovsky <[email protected]>