From: Costa Shulyupin Date: Mon, 9 Dec 2024 08:29:57 +0000 (+0200) Subject: scripts/tags.sh: Tag timer definitions X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=def35da76073fcf43c2fae4942ebe55b60dc84a6;p=users%2Fjedix%2Flinux-maple.git 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 Link: https://lore.kernel.org/r/20241209083004.911013-2-costa.shul@redhat.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/scripts/tags.sh b/scripts/tags.sh index b212363779980..7102f14fc775d 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/' '/\