Skip to content

Commit ed3e453

Browse files
mchehabIngo Molnar
authored andcommitted
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: a8772dc ("seqlock: Fold seqcount_LOCKNAME_t definition") Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/a59144cdaadf7fdf1fe5d55d0e1575abbf1c0cb3.1602590106.git.mchehab+huawei@kernel.org
1 parent 2646fb0 commit ed3e453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/seqlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static inline void seqcount_lockdep_reader_access(const seqcount_t *s)
154154
#define __SEQ_LOCK(expr)
155155
#endif
156156

157-
/**
157+
/*
158158
* typedef seqcount_LOCKNAME_t - sequence counter with LOCKNAME associated
159159
* @seqcount: The real sequence counter
160160
* @lock: Pointer to the associated lock

0 commit comments

Comments
 (0)