[Skiboot] [PATCH] SPDX fixups and Copyright date fixes
Stewart Smith
stewart at linux.ibm.com
Tue Jul 30 18:52:43 AEST 2019
Ensure the (C) who and years are correct, based on git history.
Also a few SPDX fixups
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
Makefile | 5 +++++
Makefile.rules | 2 ++
core/Makefile.inc | 2 ++
core/test/run-api-test.c | 2 ++
core/test/run-buddy.c | 1 +
core/test/run-console-log-buf-overrun.c | 2 +-
core/test/run-console-log-pr_fmt.c | 2 +-
core/test/run-console-log.c | 2 +-
core/test/run-device.c | 2 +-
core/test/run-flash-firmware-versions.c | 2 +-
core/test/run-malloc-speed.c | 2 +-
core/test/run-malloc.c | 2 +-
core/test/run-mem_range_is_reserved.c | 2 +-
core/test/run-mem_region.c | 2 +-
core/test/run-mem_region_init.c | 2 +-
core/test/run-mem_region_next.c | 2 +-
core/test/run-mem_region_release_unused.c | 2 +-
core/test/run-mem_region_release_unused_noalloc.c | 2 +-
core/test/run-mem_region_reservations.c | 2 +-
core/test/run-msg.c | 1 +
core/test/run-nvram-format.c | 2 +-
core/test/run-pci-quirk.c | 5 +++++
core/test/run-pel.c | 4 ++--
core/test/run-pool.c | 5 +++++
core/test/run-time-utils.c | 2 +-
core/test/run-timebase.c | 2 +-
core/test/run-timer.c | 5 +++++
core/test/run-trace.c | 2 +-
core/test/stubs.c | 3 ++-
make_offsets.sh | 2 ++
30 files changed, 52 insertions(+), 21 deletions(-)
diff --git a/Makefile b/Makefile
index fbd83bc01862..f938a062ee21 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
+# SPDX-License-Identifier: Apache-2.0
+# Copyright 2012-2019 IBM Corp
+
+#
# If you want to build in another directory copy this file there and
# fill in the following values
+#
#
# Prefix of cross toolchain, if anything
diff --git a/Makefile.rules b/Makefile.rules
index 11b0e5ee8a19..3d9d1b1a053a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1,6 +1,8 @@
+# SPDX-License-Identifier: Apache-2.0
#
# These allow for the build to be less verbose
#
+# Copyright 2012-2019 IBM Corp
ifdef V
VERBOSE:= $(V)
diff --git a/core/Makefile.inc b/core/Makefile.inc
index 64aa43ca213f..f8bfa7d79372 100644
--- a/core/Makefile.inc
+++ b/core/Makefile.inc
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+# Copyright 2012-2019 IBM Corp
# -*-Makefile-*-
SUBDIRS += core
diff --git a/core/test/run-api-test.c b/core/test/run-api-test.c
index 1029c7d6d7b1..0c3472b37b64 100644
--- a/core/test/run-api-test.c
+++ b/core/test/run-api-test.c
@@ -4,6 +4,8 @@
*
* For now it just validates that addresses passed are sane and test the
* wrapper that validates addresses
+ *
+ * Copyright 2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-buddy.c b/core/test/run-buddy.c
index 6f7957d582d7..83a4661b788f 100644
--- a/core/test/run-buddy.c
+++ b/core/test/run-buddy.c
@@ -2,6 +2,7 @@
/*
* Copyright 2016-2017 IBM Corp.
*/
+
#include <buddy.h>
#include <assert.h>
#include <stdlib.h>
diff --git a/core/test/run-console-log-buf-overrun.c b/core/test/run-console-log-buf-overrun.c
index 05cc414e197b..45679f2f679d 100644
--- a/core/test/run-console-log-buf-overrun.c
+++ b/core/test/run-console-log-buf-overrun.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2014-2015 IBM Corp.
+ * Copyright 2015-2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-console-log-pr_fmt.c b/core/test/run-console-log-pr_fmt.c
index ba15fd378f74..a25dafdbcfa6 100644
--- a/core/test/run-console-log-pr_fmt.c
+++ b/core/test/run-console-log-pr_fmt.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2015-2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-console-log.c b/core/test/run-console-log.c
index 71c1d6a012c6..589b8b6baa11 100644
--- a/core/test/run-console-log.c
+++ b/core/test/run-console-log.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2014-2016 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-device.c b/core/test/run-device.c
index ca160bc52e8d..03d3d54a444d 100644
--- a/core/test/run-device.c
+++ b/core/test/run-device.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2012-2018 IBM Corp.
*/
#include <skiboot.h>
diff --git a/core/test/run-flash-firmware-versions.c b/core/test/run-flash-firmware-versions.c
index 33baf4df7e5f..4b8a4da347f8 100644
--- a/core/test/run-flash-firmware-versions.c
+++ b/core/test/run-flash-firmware-versions.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2018 IBM Corp.
+ * Copyright 2018-2019 IBM Corp.
*/
#include <stdlib.h>
diff --git a/core/test/run-malloc-speed.c b/core/test/run-malloc-speed.c
index bafd5afd22bd..400778adfd05 100644
--- a/core/test/run-malloc-speed.c
+++ b/core/test/run-malloc-speed.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-malloc.c b/core/test/run-malloc.c
index 7e7bfcdb8823..00ea41078ed4 100644
--- a/core/test/run-malloc.c
+++ b/core/test/run-malloc.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_range_is_reserved.c b/core/test/run-mem_range_is_reserved.c
index ea276b7fac2f..f34c4ec28490 100644
--- a/core/test/run-mem_range_is_reserved.c
+++ b/core/test/run-mem_range_is_reserved.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2015 IBM Corp.
+ * Copyright 2015-2019 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region.c b/core/test/run-mem_region.c
index fea256eb7aea..038ce27bf22e 100644
--- a/core/test/run-mem_region.c
+++ b/core/test/run-mem_region.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_init.c b/core/test/run-mem_region_init.c
index 4f849febf340..beff3c2f8dfa 100644
--- a/core/test/run-mem_region_init.c
+++ b/core/test/run-mem_region_init.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_next.c b/core/test/run-mem_region_next.c
index 9f1180b4aaf6..b14e41d07072 100644
--- a/core/test/run-mem_region_next.c
+++ b/core/test/run-mem_region_next.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2015-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_release_unused.c b/core/test/run-mem_region_release_unused.c
index e5811ef4d7a5..f22cf194fa14 100644
--- a/core/test/run-mem_region_release_unused.c
+++ b/core/test/run-mem_region_release_unused.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_release_unused_noalloc.c b/core/test/run-mem_region_release_unused_noalloc.c
index 99b2ff5d4ace..aa8c23a2674e 100644
--- a/core/test/run-mem_region_release_unused_noalloc.c
+++ b/core/test/run-mem_region_release_unused_noalloc.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-mem_region_reservations.c b/core/test/run-mem_region_reservations.c
index 3a8a6455d9dc..daf10833c782 100644
--- a/core/test/run-mem_region_reservations.c
+++ b/core/test/run-mem_region_reservations.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2013-2018 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-msg.c b/core/test/run-msg.c
index 8b79f1794a53..7314ea6c92ca 100644
--- a/core/test/run-msg.c
+++ b/core/test/run-msg.c
@@ -2,6 +2,7 @@
/*
* Copyright 2013-2019 IBM Corp.
*/
+
#include <inttypes.h>
#include <stdbool.h>
#include <stddef.h>
diff --git a/core/test/run-nvram-format.c b/core/test/run-nvram-format.c
index d421880ac5dd..8f2e33a1c1ad 100644
--- a/core/test/run-nvram-format.c
+++ b/core/test/run-nvram-format.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <stdlib.h>
diff --git a/core/test/run-pci-quirk.c b/core/test/run-pci-quirk.c
index 2f71302815f5..f3c5170d7049 100644
--- a/core/test/run-pci-quirk.c
+++ b/core/test/run-pci-quirk.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2018 IBM Corp
+ */
+
#include <assert.h>
#include <stdint.h>
#include <compiler.h>
diff --git a/core/test/run-pel.c b/core/test/run-pel.c
index 72b4c3237535..92215941e486 100644
--- a/core/test/run-pel.c
+++ b/core/test/run-pel.c
@@ -1,11 +1,11 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
- *
* Test for our PEL record generation. Currently this doesn't actually
* test that the records we generate are correct, but it at least lets
* us run valgrind over the generation routines to check for buffer
* overflows, etc.
+ *
+ * Copyright 2013-2016 IBM Corp.
*/
#include <skiboot.h>
diff --git a/core/test/run-pool.c b/core/test/run-pool.c
index 1f811612a7cb..929f5abeaf27 100644
--- a/core/test/run-pool.c
+++ b/core/test/run-pool.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2014 IBM Corp
+ */
+
#include <pool.h>
#include "../pool.c"
diff --git a/core/test/run-time-utils.c b/core/test/run-time-utils.c
index 26b8a38aa017..1b64e5a14536 100644
--- a/core/test/run-time-utils.c
+++ b/core/test/run-time-utils.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2015-2017 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/run-timebase.c b/core/test/run-timebase.c
index 2771db382476..264ebdfa36d0 100644
--- a/core/test/run-timebase.c
+++ b/core/test/run-timebase.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2015 IBM Corp.
+ * Copyright 2015-2016 IBM Corp.
*/
#include <stdint.h>
diff --git a/core/test/run-timer.c b/core/test/run-timer.c
index 159e007acd7c..415188c272e3 100644
--- a/core/test/run-timer.c
+++ b/core/test/run-timer.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * Copyright 2014-2018 IBM Corp
+ */
+
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/core/test/run-trace.c b/core/test/run-trace.c
index 7350ee5546d7..ce0f47e9d559 100644
--- a/core/test/run-trace.c
+++ b/core/test/run-trace.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp.
*/
#include <config.h>
diff --git a/core/test/stubs.c b/core/test/stubs.c
index 343ee9ffcc4b..4a88738bc74e 100644
--- a/core/test/stubs.c
+++ b/core/test/stubs.c
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
/*
- * Copyright 2013-2014 IBM Corp.
+ * Copyright 2013-2019 IBM Corp
*/
+
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/make_offsets.sh b/make_offsets.sh
index 0c480be035f1..0ce3473de184 100755
--- a/make_offsets.sh
+++ b/make_offsets.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: Apache-2.0
+# Copyright 2012-2019 IBM Corp
cat <<EOF
#ifndef ASM_OFFSETS_H
--
2.21.0
More information about the Skiboot
mailing list