diff options
| author | Jianyu Zhan <nasa4836@gmail.com> | 2014-04-16 11:13:34 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2014-04-16 17:25:41 -0400 |
| commit | 3005286ee366dac5b75b8f17d4072f433ccbfa4a (patch) | |
| tree | c69e8fbfbc081c8685424d9fc7986d48f4479c7f /scripts | |
| parent | 082722a0f1fd303e7e19707d2747bcae43754b6e (diff) | |
scripts/tags.sh: add pattern for DEFINE_HASHTABLE
Signed-off-by: Jianyu Zhan <nasa4836@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/tags.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index f2c5b006a3d7..c1f64893efe9 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh | |||
| @@ -201,7 +201,8 @@ exuberant() | |||
| 201 | --regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/' \ | 201 | --regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/' \ |
| 202 | --regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' \ | 202 | --regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/' \ |
| 203 | --regex-c='/(^\s)OFFSET\((\w*)/\2/v/' \ | 203 | --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/' | ||
| 205 | 206 | ||
| 206 | all_kconfigs | xargs $1 -a \ | 207 | all_kconfigs | xargs $1 -a \ |
| 207 | --langdef=kconfig --language-force=kconfig \ | 208 | --langdef=kconfig --language-force=kconfig \ |
| @@ -246,7 +247,8 @@ emacs() | |||
| 246 | --regex='/__TESTCLEARFLAG_FALSE(\([^,)]*\).*/__TestClearPage\1/' \ | 247 | --regex='/__TESTCLEARFLAG_FALSE(\([^,)]*\).*/__TestClearPage\1/' \ |
| 247 | --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \ | 248 | --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \ |
| 248 | --regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \ | 249 | --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/' | ||
| 250 | 252 | ||
| 251 | all_kconfigs | xargs $1 -a \ | 253 | all_kconfigs | xargs $1 -a \ |
| 252 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' | 254 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' |
