diff options
author | Sven Eckelmann <sven@narfation.org> | 2019-05-11 16:19:17 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-05-21 11:29:41 -0400 |
commit | 29077bc5b7a4644dd8b536a327fa63c88e6f872e (patch) | |
tree | 1b3c61ccc7bbe71e9a6221fc1f53cb827397fb70 /scripts | |
parent | e6d319f68d4dcf355e89a7b21368c47c004a14c2 (diff) |
scripts/spdxcheck.py: Add dual license subdirectory
The licenses from the other directory were partially moved to the dual
directory in commit 8ea8814fcdcb ("LICENSES: Clearly mark dual license only
licenses"). checkpatch therefore rejected files like
drivers/staging/android/ashmem.h with
WARNING: 'SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */' is not supported in LICENSES/...
#1: FILE: drivers/staging/android/ashmem.h:1:
+/* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
Fixes: 8ea8814fcdcb ("LICENSES: Clearly mark dual license only licenses")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/spdxcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py index 1a39b34588b7..33df646618e2 100755 --- a/scripts/spdxcheck.py +++ b/scripts/spdxcheck.py | |||
@@ -32,7 +32,7 @@ class SPDXdata(object): | |||
32 | def read_spdxdata(repo): | 32 | def read_spdxdata(repo): |
33 | 33 | ||
34 | # The subdirectories of LICENSES in the kernel source | 34 | # The subdirectories of LICENSES in the kernel source |
35 | license_dirs = [ "preferred", "deprecated", "exceptions" ] | 35 | license_dirs = [ "preferred", "deprecated", "exceptions", "dual" ] |
36 | lictree = repo.head.commit.tree['LICENSES'] | 36 | lictree = repo.head.commit.tree['LICENSES'] |
37 | 37 | ||
38 | spdx = SPDXdata() | 38 | spdx = SPDXdata() |