]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
locking/seqlock: Tweak DEFINE_SEQLOCK() kernel doc
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 24 Sep 2020 15:48:51 +0000 (17:48 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 7 Oct 2020 16:14:14 +0000 (18:14 +0200)
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
include/linux/seqlock.h

index 76e44e6c010049eb0bd3dbc4ac9a418640b4c62f..ac5b07f558b0318f2aaece79f5292edcf75df9d6 100644 (file)
@@ -821,7 +821,7 @@ typedef struct {
        } while (0)
 
 /**
- * DEFINE_SEQLOCK() - Define a statically allocated seqlock_t
+ * DEFINE_SEQLOCK(sl) - Define a statically allocated seqlock_t
  * @sl: Name of the seqlock_t instance
  */
 #define DEFINE_SEQLOCK(sl) \