diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2022-08-30 17:01:12 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2022-09-18 08:22:01 +0000 |
commit | 382148e4dd437978997d668f6ec715ddcec1c46e (patch) | |
tree | 553bd10c7ebe78167cf19b06d5d21c9af4b8e241 /contrib/loaders/flash/cc26xx | |
parent | 5be78fafa9b7c9354956fa72c69dbb82338f6e4a (diff) | |
download | riscv-openocd-382148e4dd437978997d668f6ec715ddcec1c46e.zip riscv-openocd-382148e4dd437978997d668f6ec715ddcec1c46e.tar.gz riscv-openocd-382148e4dd437978997d668f6ec715ddcec1c46e.tar.bz2 |
openocd: fix SPDX tag format for files .c
With the old checkpatch we cannot use the correct format for the
SPDX tags in the file .c, in fact the C99 comments are not allowed
and we had to use the block comment.
With the new checkpatch, let's switch to the correct SPDX format.
Change created automatically through the command:
sed -i \
's,^/\* *\(SPDX-License-Identifier: .*[^ ]\) *\*/$,// \1,' \
$(find src/ contrib/ -name \*.c)
Change-Id: I6da16506baa7af718947562505dd49606d124171
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7153
Tested-by: jenkins
Diffstat (limited to 'contrib/loaders/flash/cc26xx')
-rw-r--r-- | contrib/loaders/flash/cc26xx/flash.c | 2 | ||||
-rw-r--r-- | contrib/loaders/flash/cc26xx/flashloader.c | 2 | ||||
-rw-r--r-- | contrib/loaders/flash/cc26xx/main.c | 2 | ||||
-rw-r--r-- | contrib/loaders/flash/cc26xx/startup.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/loaders/flash/cc26xx/flash.c b/contrib/loaders/flash/cc26xx/flash.c index 3aba82c..affd029 100644 --- a/contrib/loaders/flash/cc26xx/flash.c +++ b/contrib/loaders/flash/cc26xx/flash.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ +// SPDX-License-Identifier: BSD-3-Clause /****************************************************************************** * diff --git a/contrib/loaders/flash/cc26xx/flashloader.c b/contrib/loaders/flash/cc26xx/flashloader.c index ef3a4fc..8e9636d 100644 --- a/contrib/loaders/flash/cc26xx/flashloader.c +++ b/contrib/loaders/flash/cc26xx/flashloader.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ +// SPDX-License-Identifier: BSD-3-Clause /****************************************************************************** * diff --git a/contrib/loaders/flash/cc26xx/main.c b/contrib/loaders/flash/cc26xx/main.c index 91fc43a..6b626a3 100644 --- a/contrib/loaders/flash/cc26xx/main.c +++ b/contrib/loaders/flash/cc26xx/main.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ +// SPDX-License-Identifier: BSD-3-Clause /****************************************************************************** * diff --git a/contrib/loaders/flash/cc26xx/startup.c b/contrib/loaders/flash/cc26xx/startup.c index 9eb0df8..3117eb1 100644 --- a/contrib/loaders/flash/cc26xx/startup.c +++ b/contrib/loaders/flash/cc26xx/startup.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ +// SPDX-License-Identifier: BSD-3-Clause /****************************************************************************** * |