diff mbox series

Correct SPDX license identifier to GPL-2.0-only

Message ID 20190110070113.25003-1-szlin@debian.org
State Accepted
Headers show
Series Correct SPDX license identifier to GPL-2.0-only | expand

Commit Message

SZ Lin (林上智) Jan. 10, 2019, 7:01 a.m. UTC
Both flash_hamming1_handler.c and flash_handler.c are derived from
writeloader[1], the license declaration of original authors is GPL-2.0-only
instead of GPL-2.0-or-later. Therefore, the SPDX license identifier in both
files should be GPL-2.0-only.

[1] https://github.com/martinezjavier/writeloader/blob/master/writeloader.c

Signed-off-by: SZ Lin (林上智) <szlin@debian.org>
---
 handlers/flash_hamming1_handler.c | 2 +-
 handlers/flash_handler.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Stefano Babic Jan. 10, 2019, 8:30 a.m. UTC | #1
On 10/01/19 08:01, SZ Lin (林上智) wrote:
> Both flash_hamming1_handler.c and flash_handler.c are derived from
> writeloader[1], the license declaration of original authors is GPL-2.0-only
> instead of GPL-2.0-or-later. Therefore, the SPDX license identifier in both
> files should be GPL-2.0-only.
> 
> [1] https://github.com/martinezjavier/writeloader/blob/master/writeloader.c
> 
> Signed-off-by: SZ Lin (林上智) <szlin@debian.org>
> ---
>  handlers/flash_hamming1_handler.c | 2 +-
>  handlers/flash_handler.c          | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/handlers/flash_hamming1_handler.c b/handlers/flash_hamming1_handler.c
> index c0ad8b7..98a9744 100644
> --- a/handlers/flash_hamming1_handler.c
> +++ b/handlers/flash_hamming1_handler.c
> @@ -13,7 +13,7 @@
>   *   independently of the ECC technique implemented on the NAND driver.
>   *   This is a workaround required for TI ARM OMAP DM3730 ROM boot to load.
>   *
> - * SPDX-License-Identifier:     GPL-2.0-or-later
> + * SPDX-License-Identifier:     GPL-2.0-only
>   */
>  #include <stdio.h>
>  #include <unistd.h>
> diff --git a/handlers/flash_handler.c b/handlers/flash_handler.c
> index a0dfe2b..b112365 100644
> --- a/handlers/flash_handler.c
> +++ b/handlers/flash_handler.c
> @@ -13,7 +13,7 @@
>   *   independently of the ECC technique implemented on the NAND driver.
>   *   This is a workaround required for TI ARM OMAP DM3730 ROM boot to load.
>   *
> - * SPDX-License-Identifier:     GPL-2.0-or-later
> + * SPDX-License-Identifier:     GPL-2.0-only
>   */
>  #include <stdio.h>
>  #include <unistd.h>
> 

Thanks to have discovered this issue.

Applied to -master, thanks !
diff mbox series

Patch

diff --git a/handlers/flash_hamming1_handler.c b/handlers/flash_hamming1_handler.c
index c0ad8b7..98a9744 100644
--- a/handlers/flash_hamming1_handler.c
+++ b/handlers/flash_hamming1_handler.c
@@ -13,7 +13,7 @@ 
  *   independently of the ECC technique implemented on the NAND driver.
  *   This is a workaround required for TI ARM OMAP DM3730 ROM boot to load.
  *
- * SPDX-License-Identifier:     GPL-2.0-or-later
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 #include <stdio.h>
 #include <unistd.h>
diff --git a/handlers/flash_handler.c b/handlers/flash_handler.c
index a0dfe2b..b112365 100644
--- a/handlers/flash_handler.c
+++ b/handlers/flash_handler.c
@@ -13,7 +13,7 @@ 
  *   independently of the ECC technique implemented on the NAND driver.
  *   This is a workaround required for TI ARM OMAP DM3730 ROM boot to load.
  *
- * SPDX-License-Identifier:     GPL-2.0-or-later
+ * SPDX-License-Identifier:     GPL-2.0-only
  */
 #include <stdio.h>
 #include <unistd.h>