From 0e1db80c70477d89a73c7f2a1a7e19c7d8292c5f Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Tue, 30 Jul 2019 18:52:43 +1000 Subject: SPDX fixups and Copyright date fixes Ensure the (C) who and years are correct, based on git history. Also a few SPDX fixups Signed-off-by: Stewart Smith Signed-off-by: Oliver O'Halloran --- 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 fbd83bc..f938a06 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 11b0e5e..3d9d1b1 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 64aa43c..f8bfa7d 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 1029c7d..0c3472b 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 diff --git a/core/test/run-buddy.c b/core/test/run-buddy.c index 6f7957d..83a4661 100644 --- a/core/test/run-buddy.c +++ b/core/test/run-buddy.c @@ -2,6 +2,7 @@ /* * Copyright 2016-2017 IBM Corp. */ + #include #include #include diff --git a/core/test/run-console-log-buf-overrun.c b/core/test/run-console-log-buf-overrun.c index 05cc414..45679f2 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 diff --git a/core/test/run-console-log-pr_fmt.c b/core/test/run-console-log-pr_fmt.c index ba15fd3..a25dafd 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 diff --git a/core/test/run-console-log.c b/core/test/run-console-log.c index 71c1d6a..589b8b6 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 diff --git a/core/test/run-device.c b/core/test/run-device.c index ca160bc..03d3d54 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 diff --git a/core/test/run-flash-firmware-versions.c b/core/test/run-flash-firmware-versions.c index 33baf4d..4b8a4da 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 diff --git a/core/test/run-malloc-speed.c b/core/test/run-malloc-speed.c index bafd5af..400778a 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 diff --git a/core/test/run-malloc.c b/core/test/run-malloc.c index 7e7bfcd..00ea410 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 diff --git a/core/test/run-mem_range_is_reserved.c b/core/test/run-mem_range_is_reserved.c index ea276b7..f34c4ec 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 diff --git a/core/test/run-mem_region.c b/core/test/run-mem_region.c index fea256e..038ce27 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 diff --git a/core/test/run-mem_region_init.c b/core/test/run-mem_region_init.c index 4f849fe..beff3c2 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 diff --git a/core/test/run-mem_region_next.c b/core/test/run-mem_region_next.c index 9f1180b..b14e41d 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 diff --git a/core/test/run-mem_region_release_unused.c b/core/test/run-mem_region_release_unused.c index e5811ef..f22cf19 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 diff --git a/core/test/run-mem_region_release_unused_noalloc.c b/core/test/run-mem_region_release_unused_noalloc.c index 99b2ff5..aa8c23a 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 diff --git a/core/test/run-mem_region_reservations.c b/core/test/run-mem_region_reservations.c index 3a8a645..daf1083 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 diff --git a/core/test/run-msg.c b/core/test/run-msg.c index 8b79f17..7314ea6 100644 --- a/core/test/run-msg.c +++ b/core/test/run-msg.c @@ -2,6 +2,7 @@ /* * Copyright 2013-2019 IBM Corp. */ + #include #include #include diff --git a/core/test/run-nvram-format.c b/core/test/run-nvram-format.c index d421880..8f2e33a 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 diff --git a/core/test/run-pci-quirk.c b/core/test/run-pci-quirk.c index bd5cacb..95a1aa7 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 #include #include diff --git a/core/test/run-pel.c b/core/test/run-pel.c index 72b4c32..9221594 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 diff --git a/core/test/run-pool.c b/core/test/run-pool.c index 1f81161..929f5ab 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 #include "../pool.c" diff --git a/core/test/run-time-utils.c b/core/test/run-time-utils.c index 26b8a38..1b64e5a 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 diff --git a/core/test/run-timebase.c b/core/test/run-timebase.c index 2771db3..264ebdf 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 diff --git a/core/test/run-timer.c b/core/test/run-timer.c index 159e007..415188c 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 #include #include diff --git a/core/test/run-trace.c b/core/test/run-trace.c index 7350ee5..ce0f47e 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 diff --git a/core/test/stubs.c b/core/test/stubs.c index 24836c4..38e3d51 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 #include #include diff --git a/make_offsets.sh b/make_offsets.sh index 0c480be..0ce3473 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 <