From: Matthew Wilcox <willy@infradead.org>
To: Kirill Tkhai <ktkhai@virtuozzo.com>
Cc: akpm@linux-foundation.org, yamada.masahiro@socionext.com,
const@MakeLinux.com, joeypabalinas@gmail.com,
arend.vanspriel@broadcom.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scripts/tags: Add more declarations
Date: Mon, 17 Dec 2018 13:09:14 -0800 [thread overview]
Message-ID: <20181217210914.GS10600@bombadil.infradead.org> (raw)
In-Reply-To: <154505048571.504.18330420599768007443.stgit@localhost.localdomain>
On Mon, Dec 17, 2018 at 03:41:46PM +0300, Kirill Tkhai wrote:
> - '/\<DEFINE_\(MUTEX\|SEMAPHORE\|SPINLOCK\)(\([[:alnum:]_]*\)/\2/v/'
> + '/\<DEFINE_\(RT_MUTEX\|MUTEX\|SEMAPHORE\|SPINLOCK\)(\([[:alnum:]_]*\)/\2/v/'
> '/\<DEFINE_\(RAW_SPINLOCK\|RWLOCK\|SEQLOCK\)(\([[:alnum:]_]*\)/\2/v/'
I don't know anything about regexes this complex or tags, but couldn't this
be '/\<DEFINE_\([[:upper:]_]\)(\([[:alnum:]_]*\)/\2/v/' to catch all
DEFINE_THINGIES?
next prev parent reply other threads:[~2018-12-17 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 12:41 [PATCH] scripts/tags: Add more declarations Kirill Tkhai
2018-12-17 21:09 ` Matthew Wilcox [this message]
2018-12-18 8:12 ` Kirill Tkhai
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=20181217210914.GS10600@bombadil.infradead.org \
--to=willy@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=arend.vanspriel@broadcom.com \
--cc=const@MakeLinux.com \
--cc=joeypabalinas@gmail.com \
--cc=ktkhai@virtuozzo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yamada.masahiro@socionext.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).