This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7058

-- gerrit

commit 747e656954230138701bf279650841254f699c78
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sun Jun 26 11:07:45 2022 +0200

    openocd: src: add GPL license tag on files that miss it
    
    Some file miss completely the license tag.
    
    Add the SPDX tag, using the same GPL-2.0-or-later license of the
    OpenOCD project.
    
    The SPDX tag on files *.c is incorrect, as it should use the C99
    single line comment using '//'. But current checkpatch doesn't
    allow C99 comments, so keep using standard C comments, by now.
    
    Change-Id: I1fb51e722232d14f050458a820c3041de3dc9138
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/flash/nor/fm4.c b/src/flash/nor/fm4.c
index 09865d2ab7..2881f1201f 100644
--- a/src/flash/nor/fm4.c
+++ b/src/flash/nor/fm4.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 /*
  * Spansion FM4 flash
  *
diff --git a/src/jtag/drivers/cmsis_dap.h b/src/jtag/drivers/cmsis_dap.h
index 7c64d492c8..cf929b0693 100644
--- a/src/jtag/drivers/cmsis_dap.h
+++ b/src/jtag/drivers/cmsis_dap.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 #ifndef OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H
 #define OPENOCD_JTAG_DRIVERS_CMSIS_DAP_H
 
diff --git a/src/rtos/linux_header.h b/src/rtos/linux_header.h
index a2b408efd0..79199643c9 100644
--- a/src/rtos/linux_header.h
+++ b/src/rtos/linux_header.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 #ifndef OPENOCD_RTOS_LINUX_HEADER_H
 #define OPENOCD_RTOS_LINUX_HEADER_H
 
diff --git a/src/target/openrisc/jsp_server.h b/src/target/openrisc/jsp_server.h
index e5cfaa8b46..a522fa8da3 100644
--- a/src/target/openrisc/jsp_server.h
+++ b/src/target/openrisc/jsp_server.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 #ifndef OPENOCD_TARGET_OPENRISC_JSP_SERVER_H
 #define OPENOCD_TARGET_OPENRISC_JSP_SERVER_H
 

-- 

Reply via email to