]> www.infradead.org Git - users/hch/block.git/commitdiff
refcount.h: fix a kernel-doc markup
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 26 Oct 2020 09:12:29 +0000 (10:12 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 26 Oct 2020 09:12:29 +0000 (10:12 +0100)
The kernel-doc markup is wrong: it is asking the tool to document
struct refcount_struct, instead of documenting typedef refcount_t.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/linux/refcount.h

index 0e3ee25eb156a277fa55cdef8f94ee39f60c6e31..f572c62261a8a15b9f90f153b2fc97ec40eca33a 100644 (file)
 struct mutex;
 
 /**
- * struct refcount_t - variant of atomic_t specialized for reference counts
+ * typedef refcount_t - variant of atomic_t specialized for reference counts
  * @refs: atomic_t counter field
  *
  * The counter saturates at REFCOUNT_SATURATED and will not move once