Commit ed3e4537 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Ingo Molnar

locking/seqlocks: Fix kernel-doc warnings

Right now, seqlock.h produces kernel-doc warnings:

	./include/linux/seqlock.h:181: error: Cannot parse typedef!

Convert it to a plain comment to avoid confusing kernel-doc.

Fixes: a8772dcc ("seqlock: Fold seqcount_LOCKNAME_t definition")
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/a59144cdaadf7fdf1fe5d55d0e1575abbf1c0cb3.1602590106.git.mchehab+huawei@kernel.org
parent 2646fb03
...@@ -154,7 +154,7 @@ static inline void seqcount_lockdep_reader_access(const seqcount_t *s) ...@@ -154,7 +154,7 @@ static inline void seqcount_lockdep_reader_access(const seqcount_t *s)
#define __SEQ_LOCK(expr) #define __SEQ_LOCK(expr)
#endif #endif
/** /*
* typedef seqcount_LOCKNAME_t - sequence counter with LOCKNAME associated * typedef seqcount_LOCKNAME_t - sequence counter with LOCKNAME associated
* @seqcount: The real sequence counter * @seqcount: The real sequence counter
* @lock: Pointer to the associated lock * @lock: Pointer to the associated lock
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment