Skip to contentSkip to conversation

Add license and copyright information

PATCH In review Laurent Pinchart 2 participants 3 messages Jul 13, 2020 – Jul 14, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add license and copyright information

Add SPDX tags to describe license and copyright information to all files in the repository.

---
 Makefile                         | 2 ++
 README                           | 3 +++
 tests/Makefile                   | 2 ++
 tests/kms-test-allplanes.py      | 2 ++
 tests/kms-test-brxalloc.py       | 2 ++
 tests/kms-test-connectors.py     | 2 ++
 tests/kms-test-crc.py            | 2 ++
 tests/kms-test-formats.py        | 2 ++
 tests/kms-test-legacy-modeset.py | 2 ++
 tests/kms-test-modes.py          | 2 ++
 tests/kms-test-modeset.py        | 2 ++
 tests/kms-test-pageflip.py       | 2 ++
 tests/kms-test-planeposition.py  | 2 ++
 tests/kms-test-routing.py        | 2 ++
 tests/kmstest.py                 | 2 ++
 15 files changed, 31 insertions(+)
Makefile +2 -0
index 3fe6ed9604bc..1f0da15546b8 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=tests
 
 recursive=all clean install
README +3 -0
index 69a3bc5eef6c..7f770d4170a3 100644
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
+
 du-tests
 --------
 
tests/Makefile +2 -0
index 521761af28cf..0a921e5f56cd 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.py)
 
 all:
tests/kms-test-allplanes.py +2 -0
index ca7baa07af42..d88326293782 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-brxalloc.py +2 -0
index a0ae46a8b53e..dbdc78946b04 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-connectors.py +2 -0
index 25fc5dc8f60e..4c58b99f8fbf 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-crc.py +2 -0
index e0e0eabd9950..d936d1d4fb90 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-formats.py +2 -0
index 15e6f591aea9..77c9fe775a7c 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-legacy-modeset.py +2 -0
index 17a81792a2b8..4b5605345391 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-modes.py +2 -0
index 82a1a3b21e93..b298a19beedf 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-modeset.py +2 -0
index 224b39143a8e..0dbe67fb2a4f 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-pageflip.py +2 -0
index bef1f4990a10..19c3adaa601f 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-planeposition.py +2 -0
index ac4b4d0eb407..a7cc11113aa9 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-routing.py +2 -0
index a24dc1c0fb1e..806adb8c68a8 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kmstest.py +2 -0
index 8a483d7b5259..f13e3fb7aa32 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import collections.abc
 import errno
Signature · 3 lines
Regards,

Laurent Pinchart
Reviewed-by on v1 1/1
#1 lore raw

Hi Laurent,

Quoted 37 lines · Laurent Pinchart

Add SPDX tags to describe license and copyright information to all files in the repository.

---
 Makefile                         | 2 ++
 README                           | 3 +++
 tests/Makefile                   | 2 ++
 tests/kms-test-allplanes.py      | 2 ++
 tests/kms-test-brxalloc.py       | 2 ++
 tests/kms-test-connectors.py     | 2 ++
 tests/kms-test-crc.py            | 2 ++
 tests/kms-test-formats.py        | 2 ++
 tests/kms-test-legacy-modeset.py | 2 ++
 tests/kms-test-modes.py          | 2 ++
 tests/kms-test-modeset.py        | 2 ++
 tests/kms-test-pageflip.py       | 2 ++
 tests/kms-test-planeposition.py  | 2 ++
 tests/kms-test-routing.py        | 2 ++
 tests/kmstest.py                 | 2 ++
 15 files changed, 31 insertions(+)
Makefile +2 -0
index 3fe6ed9604bc..1f0da15546b8 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=tests
 
 recursive=all clean install
README +0 -0
index 69a3bc5eef6c..7f770d4170a3 100644

README line 2

Quoted 2 lines
README +2 -0
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation

As you are only now adding this, wouldn't you make this 2020 ? Or have you chosen the date the file was created?

Hrm, ok, so every addition has different values, so I can assume you are taking the years in which modifications have been made to the file.

Seems extraneous, but it's fine.

Quoted 147 lines
README +1 -0
+
 du-tests
 --------
 
tests/Makefile +2 -0
index 521761af28cf..0a921e5f56cd 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.py)
 
 all:
tests/kms-test-allplanes.py +2 -0
index ca7baa07af42..d88326293782 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-brxalloc.py +2 -0
index a0ae46a8b53e..dbdc78946b04 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-connectors.py +2 -0
index 25fc5dc8f60e..4c58b99f8fbf 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-crc.py +2 -0
index e0e0eabd9950..d936d1d4fb90 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-formats.py +2 -0
index 15e6f591aea9..77c9fe775a7c 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-legacy-modeset.py +2 -0
index 17a81792a2b8..4b5605345391 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-modes.py +2 -0
index 82a1a3b21e93..b298a19beedf 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-modeset.py +2 -0
index 224b39143a8e..0dbe67fb2a4f 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-pageflip.py +2 -0
index bef1f4990a10..19c3adaa601f 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-planeposition.py +2 -0
index ac4b4d0eb407..a7cc11113aa9 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-routing.py +2 -0
index a24dc1c0fb1e..806adb8c68a8 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kmstest.py +2 -0
index 8a483d7b5259..f13e3fb7aa32 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import collections.abc
 import errno
Signature · 3 lines
Regards
--
Kieran
#2 lore raw

Hi Kieran,

Quoted 45 lines · Kieran Bingham
Quoted 37 lines · Laurent Pinchart

Add SPDX tags to describe license and copyright information to all files in the repository.

---
 Makefile                         | 2 ++
 README                           | 3 +++
 tests/Makefile                   | 2 ++
 tests/kms-test-allplanes.py      | 2 ++
 tests/kms-test-brxalloc.py       | 2 ++
 tests/kms-test-connectors.py     | 2 ++
 tests/kms-test-crc.py            | 2 ++
 tests/kms-test-formats.py        | 2 ++
 tests/kms-test-legacy-modeset.py | 2 ++
 tests/kms-test-modes.py          | 2 ++
 tests/kms-test-modeset.py        | 2 ++
 tests/kms-test-pageflip.py       | 2 ++
 tests/kms-test-planeposition.py  | 2 ++
 tests/kms-test-routing.py        | 2 ++
 tests/kmstest.py                 | 2 ++
 15 files changed, 31 insertions(+)
Makefile +2 -0
index 3fe6ed9604bc..1f0da15546b8 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=tests
 
 recursive=all clean install
README +0 -0
index 69a3bc5eef6c..7f770d4170a3 100644

README line 2

Quoted 2 lines
README +2 -0
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation

As you are only now adding this, wouldn't you make this 2020 ? Or have you chosen the date the file was created?

Quoted 2 lines

Hrm, ok, so every addition has different values, so I can assume you are taking the years in which modifications have been made to the file.

Correct. Sorry for not mentioning that in the patch.

Quoted 150 lines

Seems extraneous, but it's fine.

Quoted 146 lines
README +1 -0
+
 du-tests
 --------
 
tests/Makefile +2 -0
index 521761af28cf..0a921e5f56cd 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.py)
 
 all:
tests/kms-test-allplanes.py +2 -0
index ca7baa07af42..d88326293782 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-brxalloc.py +2 -0
index a0ae46a8b53e..dbdc78946b04 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-connectors.py +2 -0
index 25fc5dc8f60e..4c58b99f8fbf 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-crc.py +2 -0
index e0e0eabd9950..d936d1d4fb90 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-formats.py +2 -0
index 15e6f591aea9..77c9fe775a7c 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-legacy-modeset.py +2 -0
index 17a81792a2b8..4b5605345391 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-modes.py +2 -0
index 82a1a3b21e93..b298a19beedf 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-modeset.py +2 -0
index 224b39143a8e..0dbe67fb2a4f 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-pageflip.py +2 -0
index bef1f4990a10..19c3adaa601f 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-planeposition.py +2 -0
index ac4b4d0eb407..a7cc11113aa9 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kms-test-routing.py +2 -0
index a24dc1c0fb1e..806adb8c68a8 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Renesas Electronics Corporation
 
 import kmstest
 import pykms
tests/kmstest.py +2 -0
index 8a483d7b5259..f13e3fb7aa32 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017-2019 Renesas Electronics Corporation
 
 import collections.abc
 import errno
Signature · 3 lines
Regards,

Laurent Pinchart