mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip: locking/core] refcount: Fix a kernel-doc markup
@ 2020-12-03 10:35 tip-bot2 for Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Mauro Carvalho Chehab @ 2020-12-03 10:35 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Mauro Carvalho Chehab, Peter Zijlstra (Intel),
	Kees Cook, x86, linux-kernel

The following commit has been merged into the locking/core branch of tip:

Commit-ID:     97d62caa32d6d79dadae3f8d19af5c92ea9a589a
Gitweb:        https://git.kernel.org/tip/97d62caa32d6d79dadae3f8d19af5c92ea9a589a
Author:        Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
AuthorDate:    Tue, 01 Dec 2020 13:09:08 +01:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Thu, 03 Dec 2020 11:20:52 +01:00

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
---
 include/linux/refcount.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/refcount.h b/include/linux/refcount.h
index 497990c..b8a6e38 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-03 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 10:35 [tip: locking/core] refcount: Fix a kernel-doc markup tip-bot2 for Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®