scripts/tags.sh: change find_other_sources() for include directories
authorArend van Spriel <arend.vanspriel@broadcom.com>
Thu, 1 Feb 2018 00:14:14 +0000 (16:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Feb 2018 01:18:34 +0000 (17:18 -0800)
commit99443f811c452c693d2f539debb7aea203ed5091
tree1f0fc9e68c454c97ecdb103f4169e4b2c45473e0
parent7e68b36145788e2e52824200edf15a6e59ea8a45
scripts/tags.sh: change find_other_sources() for include directories

The current find done in find_other_sources() excludes directories in
the kernel tree that are named 'include', eg.:

./security/apparmor/include
./security/selinux/include
./drivers/net/wireless/broadcom/brcm80211/include
./drivers/gpu/drm/amd/acp/include
./drivers/gpu/drm/amd/display/include
./drivers/gpu/drm/amd/include
./drivers/gpu/drm/nouveau/include

This changes the find command in find_other_sources() to include those
using the -path option.

Link: http://lkml.kernel.org/r/1513335768-7852-1-git-send-email-arend.vanspriel@broadcom.com
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/tags.sh