summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCosta Shulyupin <costa.shul@redhat.com>2025-01-13 10:55:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-16 14:03:10 +0100
commit2217573f4c8797eb5ed764a728f986aa80bd403c (patch)
tree5b49accf4a8b67fe81426494dba58bc5d4b0f62b /scripts
parent797212a81cdab676d6d0e7726b3bb1bda3fc28c5 (diff)
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 <costa.shul@redhat.com> Link: https://lore.kernel.org/r/20250113085554.649141-1-costa.shul@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 7102f14fc775..dba0bb0213eb 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -261,6 +261,7 @@ exuberant()
# identifiers to ignore by ctags
local ign=(
ACPI_EXPORT_SYMBOL
+ DECLARE_BITMAP
DEFINE_{TRACE,MUTEX,TIMER}
EXPORT_SYMBOL EXPORT_SYMBOL_GPL
EXPORT_TRACEPOINT_SYMBOL EXPORT_TRACEPOINT_SYMBOL_GPL