projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6498aa
)
refcount: Fix a kernel-doc markup
author
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Tue, 1 Dec 2020 12:09:08 +0000
(13:09 +0100)
committer
Peter 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
patch
|
blob
|
history
diff --git
a/include/linux/refcount.h
b/include/linux/refcount.h
index
497990c
..
b8a6e38
100644
(file)
--- 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