diff options
author | Zhaoyu Liu <zackary.liu.pro@gmail.com> | 2021-11-03 23:22:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 16:58:55 +0100 |
commit | b6379e73add8dc56ff2b7e5d88a8dce89a8ace56 (patch) | |
tree | 4d8b5f6f056fa6c2670bfde76b5138f5e443808e /kernel/audit_watch.c | |
parent | fe7a4f5b9548456246ffda143bab59922acda9fd (diff) | |
download | linux-stable-b6379e73add8dc56ff2b7e5d88a8dce89a8ace56.tar.gz linux-stable-b6379e73add8dc56ff2b7e5d88a8dce89a8ace56.tar.bz2 linux-stable-b6379e73add8dc56ff2b7e5d88a8dce89a8ace56.zip |
scripts/tags: add space regexs to all regex_c
When "make tags", it prompts a warning:
ctags: Warning: drivers/pci/controller/pcie-apple.c:150:
null expansion of name pattern "\1"
The reason is that there is an indentation beside arguments of
DECLARE_BITMAP, but it can parsed normally by gtags. It's also
allowed in C.
Regex [:space:] can match any white space character, so it's a
better approach to add it to each item in regex_c.
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Zhaoyu Liu <zackary.liu.pro@gmail.com>
Link: https://lore.kernel.org/r/20211103152234.GA23295@pc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions