diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2018-11-02 15:47:53 -0700 |
---|---|---|
committer | Junghoon Kim <jhoon20.kim@samsung.com> | 2019-06-11 09:35:57 +0900 |
commit | d660818d4b48773c36df27f388c2e89de16cb9da (patch) | |
tree | 08839ae177376c3fd57bd2b9a817ee01d839ba04 | |
parent | d6ea5cff15aac5428835a5ccb87b50a57bb299a9 (diff) | |
download | linux-rpi3-d660818d4b48773c36df27f388c2e89de16cb9da.tar.gz linux-rpi3-d660818d4b48773c36df27f388c2e89de16cb9da.tar.bz2 linux-rpi3-d660818d4b48773c36df27f388c2e89de16cb9da.zip |
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 25528213fe9f ("tags: Fix
DEFINE_PER_CPU expansions"), but this one probably wasn't noticed.
Link: http://lkml.kernel.org/r/20181030202808.28027-1-semen.protsenko@linaro.org
Fixes: 9c80172b902d ("kernel/SRCU: provide a static initializer")
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[sw0312.kim: cherry-pick mainline commit 94e297c50b52 to remove warning from "make tags" command]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ie71be48606c666e11d3675f9c525c3417343e846
-rw-r--r-- | include/linux/notifier.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/notifier.h b/include/linux/notifier.h index f35c7bf76143..0096a05395e3 100644 --- a/include/linux/notifier.h +++ b/include/linux/notifier.h @@ -122,8 +122,7 @@ extern void srcu_init_notifier_head(struct srcu_notifier_head *nh); #ifdef CONFIG_TREE_SRCU #define _SRCU_NOTIFIER_HEAD(name, mod) \ - static DEFINE_PER_CPU(struct srcu_data, \ - name##_head_srcu_data); \ + static DEFINE_PER_CPU(struct srcu_data, name##_head_srcu_data); \ mod struct srcu_notifier_head name = \ SRCU_NOTIFIER_INIT(name, name##_head_srcu_data) |