lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADDUTFz8=dm6jRrbd2RLK1+aDZik_W_-HJPEdND9auRr79h6RQ@mail.gmail.com>
Date: Mon, 9 Dec 2024 09:18:14 +0200
From: Costa Shulyupin <costa.shul@...hat.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Costa Shulyupin <costa.shul@...hat.com>, 
	Wei Yang <richard.weiyang@...il.com>, Steven Rostedt <rostedt@...dmis.org>, 
	René Nyffenegger <mail@...enyffenegger.ch>, 
	open list <linux-kernel@...r.kernel.org>
Subject: Re: [RESEND PATCH] scripts/tags.sh: Tag timer definitions

Tag id, defined with DEFINE_TIMER(id, ...)
and ignore usages of DEFINE_TIMER itself.

Signed-off-by: Costa Shulyupin <costa.shul@...hat.com>
---
 scripts/tags.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index b21236377998..7102f14fc775 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -188,6 +188,7 @@ regex_c=(
        '/^PCI_OP_WRITE([[:space:]]*\(\w*\).*[1-4])/pci_bus_write_config_\1/'
        '/\<DEFINE_\(RT_MUTEX\|MUTEX\|SEMAPHORE\|SPINLOCK\)([[:space:]]*\([[:alnum:]_]*\)/\2/v/'
        '/\<DEFINE_\(RAW_SPINLOCK\|RWLOCK\|SEQLOCK\)([[:space:]]*\([[:alnum:]_]*\)/\2/v/'
+       '/\<DEFINE_TIMER(\([^,)]*\),/\1/'
        '/\<DECLARE_\(RWSEM\|COMPLETION\)([[:space:]]*\([[:alnum:]_]\+\)/\2/v/'
        '/\<DECLARE_BITMAP([[:space:]]*\([[:alnum:]_]\+\)/\1/v/'
        '/\(^\|\s\)\(\|L\|H\)LIST_HEAD([[:space:]]*\([[:alnum:]_]*\)/\3/v/'
@@ -260,7 +261,7 @@ exuberant()
        # identifiers to ignore by ctags
        local ign=(
                ACPI_EXPORT_SYMBOL
-               DEFINE_{TRACE,MUTEX}
+               DEFINE_{TRACE,MUTEX,TIMER}
                EXPORT_SYMBOL EXPORT_SYMBOL_GPL
                EXPORT_TRACEPOINT_SYMBOL EXPORT_TRACEPOINT_SYMBOL_GPL
                ____cacheline_aligned ____cacheline_aligned_in_smp
--
2.47.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ