]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scripts/tags.sh: Tag timer definitions
authorCosta Shulyupin <costa.shul@redhat.com>
Mon, 9 Dec 2024 08:29:57 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2025 12:18:10 +0000 (13:18 +0100)
commitdef35da76073fcf43c2fae4942ebe55b60dc84a6
tree66708053c21780c630d5cd6669af15dbc8cc3687
parent37df9043329b8292d53789c19e05faf7f3ae5ae8
scripts/tags.sh: Tag timer definitions

For timer definitions like
DEFINE_TIMER(mytimer, mytimer_handler);
ctags generates tags `DEFINE_TIMER` and skips `mytimer`
because it doesn't expand the DEFINE_TIMER macro.

Configure ctags to generate tag for `mytimer`
ans skip the `DEFINE_TIMER` tag in such cases.

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