diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2022-06-26 23:10:08 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2022-07-23 13:16:09 +0000 |
commit | c3d3487d6147e38433630761bbf9539d4cc13aab (patch) | |
tree | 9054ba348cee8edddb9ebe7bfaf4578490fb89b8 /src/rtos | |
parent | 4db9add47f282c264c512fb76e43c6707f72ab2b (diff) | |
download | riscv-openocd-c3d3487d6147e38433630761bbf9539d4cc13aab.zip riscv-openocd-c3d3487d6147e38433630761bbf9539d4cc13aab.tar.gz riscv-openocd-c3d3487d6147e38433630761bbf9539d4cc13aab.tar.bz2 |
openocd: src: fix incorrect SPDX tags
The SPDX tag is aimed at machine handling and it's thus expected
to be placed in the first line in specific format.
Move the SPDX tag to the first line and fix it where needed.
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: Ie9a05f530009d482a4116eebd147fd7e1ee3d41e
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7066
Tested-by: jenkins
Diffstat (limited to 'src/rtos')
-rw-r--r-- | src/rtos/chromium-ec.c | 4 | ||||
-rw-r--r-- | src/rtos/zephyr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rtos/chromium-ec.c b/src/rtos/chromium-ec.c index 95a228d..782a462 100644 --- a/src/rtos/chromium-ec.c +++ b/src/rtos/chromium-ec.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + /* - * SPDX-License-Identifier: GPL-2.0 - * * Copyright (c) 2018 National Instruments Corp * Author: Moritz Fischer <moritz.fischer@ettus.com> * diff --git a/src/rtos/zephyr.c b/src/rtos/zephyr.c index 7f3325f..6276236 100644 --- a/src/rtos/zephyr.c +++ b/src/rtos/zephyr.c @@ -1,11 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /*************************************************************************** * Copyright (C) 2017 by Intel Corporation * Leandro Pereira <leandro.pereira@intel.com> * Daniel Glöckner <dg@emlix.com>* * Copyright (C) 2021 by Synopsys, Inc. * Evgeniy Didin <didin@synopsys.com> - * * - * SPDX-License-Identifier: GPL-2.0-or-later * ***************************************************************************/ #ifdef HAVE_CONFIG_H |