Skip to content

Commit 3005286

Browse files
JianyuZhanmichal42
authored andcommittedApr 16, 2014
scripts/tags.sh: add pattern for DEFINE_HASHTABLE
Signed-off-by: Jianyu Zhan <nasa4836@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 082722a commit 3005286

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎scripts/tags.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ exuberant()
201201
--regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/' \
202202
--regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' \
203203
--regex-c='/(^\s)OFFSET\((\w*)/\2/v/' \
204-
--regex-c='/(^\s)DEFINE\((\w*)/\2/v/'
204+
--regex-c='/(^\s)DEFINE\((\w*)/\2/v/' \
205+
--regex-c='/DEFINE_HASHTABLE\((\w*)/\1/v/'
205206

206207
all_kconfigs | xargs $1 -a \
207208
--langdef=kconfig --language-force=kconfig \
@@ -246,7 +247,8 @@ emacs()
246247
--regex='/__TESTCLEARFLAG_FALSE(\([^,)]*\).*/__TestClearPage\1/' \
247248
--regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \
248249
--regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \
249-
--regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'
250+
--regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\
251+
--regex='/DEFINE_HASHTABLE\((\w*)/\1/v/'
250252

251253
all_kconfigs | xargs $1 -a \
252254
--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'

0 commit comments

Comments
 (0)
Please sign in to comment.