[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181217210914.GS10600@bombadil.infradead.org>
Date: Mon, 17 Dec 2018 13:09:14 -0800
From: Matthew Wilcox <willy@...radead.org>
To: Kirill Tkhai <ktkhai@...tuozzo.com>
Cc: akpm@...ux-foundation.org, yamada.masahiro@...ionext.com,
const@...eLinux.com, joeypabalinas@...il.com,
arend.vanspriel@...adcom.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts/tags: Add more declarations
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?
Powered by blists - more mailing lists