Skip to content

Commit 2217573

Browse files
makelinuxgregkh
authored andcommitted
scripts/tags.sh: Don't tag usages of DECLARE_BITMAP
For all bitmap declarations like DECLARE_BITMAP(x, y); ctags generates multiple DECLARE_BITMAP tags for each usage because it doesn't expand the DECLARE_BITMAP macro. Configure ctags to skip generating tags for DECLARE_BITMAP in such cases. The #define DECLARE_BITMAP itself and declared bitmaps are tagged correctly. Signed-off-by: Costa Shulyupin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 797212a commit 2217573

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/tags.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ exuberant()
261261
# identifiers to ignore by ctags
262262
local ign=(
263263
ACPI_EXPORT_SYMBOL
264+
DECLARE_BITMAP
264265
DEFINE_{TRACE,MUTEX,TIMER}
265266
EXPORT_SYMBOL EXPORT_SYMBOL_GPL
266267
EXPORT_TRACEPOINT_SYMBOL EXPORT_TRACEPOINT_SYMBOL_GPL

0 commit comments

Comments
 (0)