summaryrefslogtreecommitdiff
path: root/include/linux/refcount.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-01 13:09:08 +0100
committerPeter Zijlstra <peterz@infradead.org>2020-12-03 11:20:52 +0100
commit97d62caa32d6d79dadae3f8d19af5c92ea9a589a (patch)
treea709eba6b95e9b58484e49dbe330c7046cf9b92d /include/linux/refcount.h
parentb6498aad59b091e5618a9f05e7636e2ad2c6732d (diff)
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
Diffstat (limited to 'include/linux/refcount.h')
-rw-r--r--include/linux/refcount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/refcount.h b/include/linux/refcount.h
index 497990c69b0b..b8a6e387f8f9 100644
--- a/include/linux/refcount.h
+++ b/include/linux/refcount.h
@@ -101,7 +101,7 @@
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