* [PATCH] scripts/tags.sh: add pattern for DEFINE_HASHTABLE
@ 2014-04-16 15:13 Jianyu Zhan
2014-04-16 21:26 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Jianyu Zhan @ 2014-04-16 15:13 UTC (permalink / raw)
To: mmarek, akpm, michael.opdenacker, prarit, tkhai, nasa4836; +Cc: linux-kernel
Signed-off-by: Jianyu Zhan <nasa4836@gmail.com>
---
scripts/tags.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 7122fea..a5d27db 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -205,7 +205,8 @@ exuberant()
--regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/' \
--regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' \
--regex-c='/(^\s)OFFSET\((\w*)/\2/v/' \
- --regex-c='/(^\s)DEFINE\((\w*)/\2/v/'
+ --regex-c='/(^\s)DEFINE\((\w*)/\2/v/' \
+ --regex-c='/DEFINE_HASHTABLE\((\w*)/\1/v/'
all_kconfigs | xargs $1 -a \
--langdef=kconfig --language-force=kconfig \
@@ -254,7 +255,8 @@ emacs()
--regex='/__TESTCLEARFLAG_FALSE(\([^,)]*\).*/__TestClearPage\1/' \
--regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \
--regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \
- --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'
+ --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\
+ --regex='/DEFINE_HASHTABLE\((\w*)/\1/v/'
all_kconfigs | xargs $1 -a \
--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'
--
1.9.0.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scripts/tags.sh: add pattern for DEFINE_HASHTABLE
2014-04-16 15:13 [PATCH] scripts/tags.sh: add pattern for DEFINE_HASHTABLE Jianyu Zhan
@ 2014-04-16 21:26 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2014-04-16 21:26 UTC (permalink / raw)
To: Jianyu Zhan; +Cc: mmarek, akpm, michael.opdenacker, prarit, tkhai, linux-kernel
On Wed, Apr 16, 2014 at 11:13:34PM +0800, Jianyu Zhan wrote:
> Signed-off-by: Jianyu Zhan <nasa4836@gmail.com>
> ---
> scripts/tags.sh | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Applied to kbuild.git#misc, thanks.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-16 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 15:13 [PATCH] scripts/tags.sh: add pattern for DEFINE_HASHTABLE Jianyu Zhan
2014-04-16 21:26 ` Michal Marek
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).