Thread (5 messages) 5 messages, 3 authors, 2015-12-07

Re: [PATCH v2 8/8] treewide: Remove newlines inside DEFINE_PER_CPU() macros

From: Joe Perches <joe@perches.com>
Date: 2015-12-07 17:04:27
Also in: linux-acpi, linux-kbuild, lkml

On Mon, 2015-12-07 at 17:53 +0100, Michal Marek wrote:
On 2015-12-07 17:33, David Laight wrote:
quoted
From: Michal Marek
quoted
Sent: 04 December 2015 15:26
Otherwise make tags can't parse them:

ctags: Warning: arch/ia64/kernel/smp.c:60: null expansion of name pattern "\1"
...

Seems to me you need to fix ctags.
I'm sure the maintainers of ctags and etags would accept patches to
describe a custom context-free grammar via commandline options, but
until then, let's continue using the regular expressions in tags.sh and
remove newlines in macros that tags.sh is trying to expand.
Do you have a list of the most common macros?

Perhaps it'd be good to add exceptions to checkpatch
80 column line rules for them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help