Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

refcount: Fix a kernel-doc markup

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

authored by

Mauro Carvalho Chehab and committed by
Peter Zijlstra
97d62caa b6498aad

+1 -1
+1 -1
include/linux/refcount.h
··· 101 101 struct mutex; 102 102 103 103 /** 104 - * struct refcount_t - variant of atomic_t specialized for reference counts 104 + * typedef refcount_t - variant of atomic_t specialized for reference counts 105 105 * @refs: atomic_t counter field 106 106 * 107 107 * The counter saturates at REFCOUNT_SATURATED and will not move once