From: Sebastian Andrzej Siewior Date: Thu, 24 Sep 2020 15:48:51 +0000 (+0200) Subject: locking/seqlock: Tweak DEFINE_SEQLOCK() kernel doc X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=24a1877286822293684ef3f7bada4ea48a6e129e;p=linux.git 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 Signed-off-by: Peter Zijlstra (Intel) Acked-by: Will Deacon Link: https://lkml.kernel.org/r/20200924154851.skmswuyj322yuz4g@linutronix.de --- diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 76e44e6c01004..ac5b07f558b03 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) \