From: Sam Protsenko <semen.protsenko@linaro.org> To: Andrew Morton <akpm@linux-foundation.org>, kernel-janitors@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Andy Shevchenko <andy.shevchenko@gmail.com> Subject: [PATCH v2] kernel/SRCU: Fix ctags Date: Tue, 30 Oct 2018 22:28:08 +0200 [thread overview] Message-ID: <20181030202808.28027-1-semen.protsenko@linaro.org> (raw) 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. Fixes: 9c80172b902d ("kernel/SRCU: provide a static initializer") Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> --- include/linux/notifier.h | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.19.1
WARNING: multiple messages have this Message-ID (diff)
From: Sam Protsenko <semen.protsenko@linaro.org> To: Andrew Morton <akpm@linux-foundation.org>, kernel-janitors@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Andy Shevchenko <andy.shevchenko@gmail.com> Subject: [PATCH v2] kernel/SRCU: Fix ctags Date: Tue, 30 Oct 2018 20:28:08 +0000 [thread overview] Message-ID: <20181030202808.28027-1-semen.protsenko@linaro.org> (raw) 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. Fixes: 9c80172b902d ("kernel/SRCU: provide a static initializer") Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> --- include/linux/notifier.h | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.19.1
next reply other threads:[~2018-10-30 20:28 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-10-30 20:28 Sam Protsenko [this message] 2018-10-30 20:28 ` [PATCH v2] kernel/SRCU: Fix ctags Sam Protsenko -- strict thread matches above, loose matches on Subject: below -- 2018-10-29 20:09 Sam Protsenko 2018-10-29 20:11 ` Sam Protsenko 2018-10-30 6:34 ` Greg KH 2018-10-29 20:11 ` Andy Shevchenko 2018-10-30 19:31 ` Sam Protsenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20181030202808.28027-1-semen.protsenko@linaro.org \ --to=semen.protsenko@linaro.org \ --cc=akpm@linux-foundation.org \ --cc=andy.shevchenko@gmail.com \ --cc=kernel-janitors@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.