]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
avb: move SPDX license identifiers to the first line
authorIgor Opaniuk <igor.opaniuk@gmail.com>
Fri, 9 Feb 2024 19:20:40 +0000 (20:20 +0100)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 15 Feb 2024 09:38:34 +0000 (10:38 +0100)
Move SPDX license identifiers to the first line, so it conforms
to license placement rule [1]:

Placement:
The SPDX license identifier in kernel files shall be added at the first
possible line in a file which can contain a comment.  For the majority
of files this is the first line, except for scripts which require the
'#!PATH_TO_INTERPRETER' in the first line.  For those scripts the SPDX
identifier goes into the second line.

[1] https://www.kernel.org/doc/Documentation/process/license-rules.rst

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Link: https://lore.kernel.org/r/20240209192045.3961832-3-igor.opaniuk@foundries.io
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
cmd/avb.c
common/avb_verify.c
include/avb_verify.h
test/py/tests/test_android/test_avb.py

index 783f51b81690e9b92cf9b8cada227856f57edb27..ce8b63873f2956c3661b4e3ced6ec8e91903ddef 100644 (file)
--- a/cmd/avb.c
+++ b/cmd/avb.c
@@ -1,8 +1,6 @@
-
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2018, Linaro Limited
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <avb_verify.h>
index 59f2c25e0ded522e3aa55966731882091feafb19..938a5383b5d588c7ac9c024f38c6a31bdc5e93d4 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2018, Linaro Limited
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <avb_verify.h>
index 1e787ba666872a200c97053f8ef723460bc21a2a..2fb850044d952195a50f07295035dd51b6d5e4a3 100644 (file)
@@ -1,8 +1,6 @@
-
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2018, Linaro Limited
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef        _AVB_VERIFY_H
index 238b48c90fa9cbb78d9bc7f25249f7f0ecca50f9..865efbca4de784e193bf0670bf3e13e8309bb8bb 100644 (file)
@@ -1,6 +1,5 @@
-# Copyright (c) 2018, Linaro Limited
-#
 # SPDX-License-Identifier:  GPL-2.0+
+# Copyright (c) 2018, Linaro Limited
 #
 # Android Verified Boot 2.0 Test