refcount: Fix a kernel-doc markup
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Dec 2020 12:09:08 +0000 (13:09 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 3 Dec 2020 10:20:52 +0000 (11:20 +0100)
The kernel-doc markup is wrong: it is asking the tool to document
struct refcount_struct, instead of documenting typedef refcount_t.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/afb9bb1e675bf5f72a34a55d780779d7d5916b4c.1606823973.git.mchehab+huawei@kernel.org
include/linux/refcount.h

index 497990c..b8a6e38 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