[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5627E73B.9000502@redhat.com>
Date: Wed, 21 Oct 2015 15:27:55 -0400
From: Prarit Bhargava <prarit@...hat.com>
To: Michal Marek <mmarek@...e.com>, linux-kbuild@...r.kernel.org
CC: linux-kernel@...r.kernel.org, linux-ia64@...r.kernel.org,
xen-devel@...ts.xenproject.org, linux-acpi@...r.kernel.org,
rds-devel@....oracle.com, netdev@...r.kernel.org
Subject: Re: [PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU()
macros
On 10/15/2015 04:16 PM, Michal Marek wrote:
> Otherwise make tags can't parse them:
>
> ctags: Warning: arch/ia64/kernel/smp.c:60: null expansion of name pattern "\1"
> ctags: Warning: drivers/xen/events/events_2l.c:41: null expansion of name pattern "\1"
> ctags: Warning: drivers/acpi/processor_idle.c:64: null expansion of name pattern "\1"
> ctags: Warning: kernel/locking/lockdep.c:153: null expansion of name pattern "\1"
> ctags: Warning: kernel/workqueue.c:305: null expansion of name pattern "\1"
> ctags: Warning: kernel/rcu/rcutorture.c:133: null expansion of name pattern "\1"
> ctags: Warning: kernel/rcu/rcutorture.c:135: null expansion of name pattern "\1"
> ctags: Warning: net/rds/page.c:45: null expansion of name pattern "\1"
> ctags: Warning: net/ipv4/syncookies.c:53: null expansion of name pattern "\1"
> ctags: Warning: net/ipv6/syncookies.c:44: null expansion of name pattern "\1"
>
> Cc: linux-ia64@...r.kernel.org
> Cc: xen-devel@...ts.xenproject.org
> Cc: linux-acpi@...r.kernel.org
> Cc: rds-devel@....oracle.com
> Cc: netdev@...r.kernel.org
> Signed-off-by: Michal Marek <mmarek@...e.com>
> ---
> arch/ia64/kernel/smp.c | 3 +--
> drivers/acpi/processor_idle.c | 3 +--
> drivers/xen/events/events_2l.c | 3 +--
> kernel/locking/lockdep.c | 3 +--
> kernel/rcu/rcutorture.c | 6 ++----
> kernel/workqueue.c | 3 +--
> net/ipv4/syncookies.c | 3 +--
> net/ipv6/syncookies.c | 3 +--
> net/rds/page.c | 3 +--
> 9 files changed, 10 insertions(+), 20 deletions(-)
>
> diff --git a/arch/ia64/kernel/smp.c b/arch/ia64/kernel/smp.c
> index 7f706d4f84f7..1dcfe29d8a42 100644
> --- a/arch/ia64/kernel/smp.c
> +++ b/arch/ia64/kernel/smp.c
> @@ -57,8 +57,7 @@ static struct local_tlb_flush_counts {
> unsigned int count;
> } __attribute__((__aligned__(32))) local_tlb_flush_counts[NR_CPUS];
>
> -static DEFINE_PER_CPU_SHARED_ALIGNED(unsigned short [NR_CPUS],
> - shadow_flush_counts);
> +static DEFINE_PER_CPU_SHARED_ALIGNED(unsigned short [NR_CPUS], shadow_flush_counts);
>
I guarantee you're going to end up fixing this issue over and over again as more
code is added in.
OOC, why not fix ctags to recognize newlines?
P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists