aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-09-24 17:48:51 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-10-07 18:14:14 +0200
commit24a1877286822293684ef3f7bada4ea48a6e129e (patch)
treecbf6f07b597a35f932ad6c2340433668c8e992ec /include/linux/seqlock.h
parentlockdep: Optimize the memory usage of circular queue (diff)
downloadlinux-dev-24a1877286822293684ef3f7bada4ea48a6e129e.tar.xz
linux-dev-24a1877286822293684ef3f7bada4ea48a6e129e.zip
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
Diffstat (limited to 'include/linux/seqlock.h')
-rw-r--r--include/linux/seqlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h
index 76e44e6c0100..ac5b07f558b0 100644
--- a/include/linux/seqlock.h
+++ b/include/linux/seqlock.h
@@ -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) \