Skip to content

Commit 24a1877

Browse files
Sebastian Andrzej SiewiorPeter Zijlstra
authored andcommitted
locking/seqlock: Tweak DEFINE_SEQLOCK() kernel doc
ctags creates a warning: |ctags: Warning: include/linux/seqlock.h:738: null expansion of name pattern "\2" The DEFINE_SEQLOCK() macro is passed to ctags and being told to expect an argument. Add a dummy argument to keep ctags quiet. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Will Deacon <will@kernel.org> Link: https://lkml.kernel.org/r/20200924154851.skmswuyj322yuz4g@linutronix.de
1 parent 6d1823c commit 24a1877

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/seqlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ typedef struct {
821821
} while (0)
822822

823823
/**
824-
* DEFINE_SEQLOCK() - Define a statically allocated seqlock_t
824+
* DEFINE_SEQLOCK(sl) - Define a statically allocated seqlock_t
825825
* @sl: Name of the seqlock_t instance
826826
*/
827827
#define DEFINE_SEQLOCK(sl) \

0 commit comments

Comments
 (0)