]> git.ipfire.org Git - thirdparty/linux.git/commit
scripts/tags.sh: Don't tag usages of DECLARE_BITMAP
authorCosta Shulyupin <costa.shul@redhat.com>
Mon, 13 Jan 2025 08:55:47 +0000 (10:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2025 13:03:10 +0000 (14:03 +0100)
commit2217573f4c8797eb5ed764a728f986aa80bd403c
tree5b49accf4a8b67fe81426494dba58bc5d4b0f62b
parent797212a81cdab676d6d0e7726b3bb1bda3fc28c5
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>
scripts/tags.sh