scripts/tags.sh: Don't tag usages of DEFINE_MUTEX
authorCosta Shulyupin <costa.shul@redhat.com>
Tue, 5 Nov 2024 09:56:37 +0000 (11:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2024 11:54:12 +0000 (12:54 +0100)
Curly braces expression expands to "DEFINE_TRACE DEFINE_MUTEX".

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Link: https://lore.kernel.org/r/20241105095648.1472862-2-costa.shul@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/tags.sh

index c04f43d..6a69eca 100755 (executable)
@@ -262,7 +262,7 @@ exuberant()
        # identifiers to ignore by ctags
        local ign=(
                ACPI_EXPORT_SYMBOL
-               DEFINE_TRACE
+               DEFINE_{TRACE,MUTEX}
                EXPORT_SYMBOL EXPORT_SYMBOL_GPL
                EXPORT_TRACEPOINT_SYMBOL EXPORT_TRACEPOINT_SYMBOL_GPL
                ____cacheline_aligned ____cacheline_aligned_in_smp