The JSON file format does not support comments so there is no good
way to add SPDX license identifier.  This solves false positives
that arrive from the use of JSON in crypto dev tests.

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

diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh
index a0ec1ed5b6da..bc0b6efcf976 100755
--- a/devtools/check-spdx-tag.sh
+++ b/devtools/check-spdx-tag.sh
@@ -26,7 +26,7 @@ check_spdx() {
        ':^license/' ':^config/' ':^buildtools/' \
        ':^*.cocci' ':^*.abignore' \
        ':^*.def' ':^*.map' ':^*.ini' ':^*.data' ':^*.cfg' ':^*.txt' \
-       ':^*.svg' ':^*.png'\
+       ':^*.svg' ':^*.png' ':^*.json' \
        > $tmpfile
 
     errors=$(wc -l < $tmpfile)
-- 
2.30.2

Reply via email to