]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/spdxcheck.py: Add dual license subdirectory
authorSven Eckelmann <sven@narfation.org>
Sat, 11 May 2019 20:19:17 +0000 (22:19 +0200)
committerJonathan Corbet <corbet@lwn.net>
Tue, 21 May 2019 15:29:41 +0000 (09:29 -0600)
commit07ba42b4ac32c37be08d6f8a1c057e56a96a7939
tree1b3c61ccc7bbe71e9a6221fc1f53cb827397fb70
parente9e168b2ddae0d6f07b2140a49fb4cefc5b8ed62
scripts/spdxcheck.py: Add dual license subdirectory

The licenses from the other directory were partially moved to the dual
directory in commit 39f5a0b73cd4 ("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: 39f5a0b73cd4 ("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>
scripts/spdxcheck.py