New .gitignore file in dts was getting marked as error.
Change to ignore all .gitignore files.
Remove no longer use Kbuild pattern.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 devtools/check-spdx-tag.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh
index b983268b1e..47bc9f7b60 100755
--- a/devtools/check-spdx-tag.sh
+++ b/devtools/check-spdx-tag.sh
@@ -22,9 +22,9 @@ check_spdx() {
     git grep -L SPDX-License-Identifier -- \
        ':^.git*' ':^.mailmap' ':^.ci/*' \
        ':^README' ':^MAINTAINERS' ':^VERSION' ':^ABI_VERSION' \
-       ':^*/Kbuild' ':^*/README*' \
+       ':^*/README*' ':^*/.gitignore' \
        ':^license/' ':^config/' ':^buildtools/' ':^*/poetry.lock' \
-       ':^kernel/linux/uapi/.gitignore' ':^kernel/linux/uapi/version' \
+       ':^kernel/linux/uapi/version' \
        ':^*.cocci' ':^*.abignore' \
        ':^*.map' ':^*.ini' ':^*.data' ':^*.json' ':^*.cfg' ':^*.txt' \
        ':^*.svg' ':^*.png' \
-- 
2.47.2

Reply via email to