Skip to content

Commit 94e297c

Browse files
Sam Protsenkotorvalds
authored andcommitted
include/linux/notifier.h: SRCU: fix ctags
ctags indexing ("make tags" command) throws this warning: ctags: Warning: include/linux/notifier.h:125: null expansion of name pattern "\1" This is the result of DEFINE_PER_CPU() macro expansion. Fix that by getting rid of line break. Similar fix was already done in commit 2552821 ("tags: Fix DEFINE_PER_CPU expansions"), but this one probably wasn't noticed. Link: http://lkml.kernel.org/r/[email protected] Fixes: 9c80172 ("kernel/SRCU: provide a static initializer") Signed-off-by: Sam Protsenko <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Andy Shevchenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent e68599a commit 94e297c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/linux/notifier.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ extern void srcu_init_notifier_head(struct srcu_notifier_head *nh);
122122

123123
#ifdef CONFIG_TREE_SRCU
124124
#define _SRCU_NOTIFIER_HEAD(name, mod) \
125-
static DEFINE_PER_CPU(struct srcu_data, \
126-
name##_head_srcu_data); \
125+
static DEFINE_PER_CPU(struct srcu_data, name##_head_srcu_data); \
127126
mod struct srcu_notifier_head name = \
128127
SRCU_NOTIFIER_INIT(name, name##_head_srcu_data)
129128

0 commit comments

Comments
 (0)