Re: [PATCH] scripts/tags: Add more declarations
On 18.12.2018 00:09, Matthew Wilcox wrote: > On Mon, Dec 17, 2018 at 03:41:46PM +0300, Kirill Tkhai wrote: >> -'/\> + >> '/\> '/\ > I don't know anything about regexes this complex or tags, but couldn't this > be '/\ DEFINE_THINGIES? I think, we can, but before this it's needed to change arguments order in macroses like DEFINE_PER_CPU(), and to check, whether tags won't be polluted something not needed (such wrong defines will be generated anyway, but if there will be not too many, than it's OK).
Re: [PATCH] scripts/tags: Add more declarations
On Mon, Dec 17, 2018 at 03:41:46PM +0300, Kirill Tkhai wrote: > - '/\ + > '/\ '/\
[PATCH] scripts/tags: Add more declarations
New declarations and identifier (__always_inline). Signed-off-by: Kirill Tkhai --- scripts/tags.sh | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 4fa070f9231a..f470d9919ed7 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -191,7 +191,7 @@ regex_c=( '/^DEF_PCI_AC_\(\|NO\)RET(\([[:alnum:]_]*\).*/\2/' '/^PCI_OP_READ(\(\w*\).*[1-4])/pci_bus_read_config_\1/' '/^PCI_OP_WRITE(\(\w*\).*[1-4])/pci_bus_write_config_\1/' - '/\