diff options
Diffstat (limited to 'tools')
29 files changed, 29 insertions, 112 deletions
diff --git a/tools/firmware/ihex2fw.c b/tools/firmware/ihex2fw.c index 8925b60e51f5..2ebed47680b1 100644 --- a/tools/firmware/ihex2fw.c +++ b/tools/firmware/ihex2fw.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Parser/loader for IHEX formatted data. | 3 | * Parser/loader for IHEX formatted data. |
3 | * | 4 | * |
4 | * Copyright © 2008 David Woodhouse <dwmw2@infradead.org> | 5 | * Copyright © 2008 David Woodhouse <dwmw2@infradead.org> |
5 | * Copyright © 2005 Jan Harkes <jaharkes@cs.cmu.edu> | 6 | * Copyright © 2005 Jan Harkes <jaharkes@cs.cmu.edu> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <stdint.h> | 9 | #include <stdint.h> |
diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index c864544efe05..30ed0e06f52a 100644 --- a/tools/gpio/gpio-event-mon.c +++ b/tools/gpio/gpio-event-mon.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * gpio-event-mon - monitor GPIO line events from userspace | 3 | * gpio-event-mon - monitor GPIO line events from userspace |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Linus Walleij | 5 | * Copyright (C) 2016 Linus Walleij |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Usage: | 7 | * Usage: |
11 | * gpio-event-mon -n <device-name> -o <offset> | 8 | * gpio-event-mon -n <device-name> -o <offset> |
12 | */ | 9 | */ |
diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c index 4bcb234c0fca..0e0060a6eb34 100644 --- a/tools/gpio/gpio-hammer.c +++ b/tools/gpio/gpio-hammer.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * gpio-hammer - example swiss army knife to shake GPIO lines on a system | 3 | * gpio-hammer - example swiss army knife to shake GPIO lines on a system |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Linus Walleij | 5 | * Copyright (C) 2016 Linus Walleij |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Usage: | 7 | * Usage: |
11 | * gpio-hammer -n <device-name> -o <offset1> -o <offset2> | 8 | * gpio-hammer -n <device-name> -o <offset1> -o <offset2> |
12 | */ | 9 | */ |
diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c index cf7e2f3419ee..53470de6a502 100644 --- a/tools/gpio/gpio-utils.c +++ b/tools/gpio/gpio-utils.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO tools - helpers library for the GPIO tools | 3 | * GPIO tools - helpers library for the GPIO tools |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Linus Walleij | 5 | * Copyright (C) 2015 Linus Walleij |
5 | * Copyright (C) 2016 Bamvor Jian Zhang | 6 | * Copyright (C) 2016 Bamvor Jian Zhang |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published by | ||
9 | * the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <unistd.h> | 9 | #include <unistd.h> |
diff --git a/tools/gpio/gpio-utils.h b/tools/gpio/gpio-utils.h index 344ea041f8d4..cf37f13f3dcb 100644 --- a/tools/gpio/gpio-utils.h +++ b/tools/gpio/gpio-utils.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * GPIO tools - utility helpers library for the GPIO tools | 3 | * GPIO tools - utility helpers library for the GPIO tools |
3 | * | 4 | * |
@@ -7,9 +8,6 @@ | |||
7 | * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> | 8 | * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
8 | * Copyright (c) 2008 Jonathan Cameron | 9 | * Copyright (c) 2008 Jonathan Cameron |
9 | * * | 10 | * * |
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published by | ||
12 | * the Free Software Foundation. | ||
13 | */ | 11 | */ |
14 | #ifndef _GPIO_UTILS_H_ | 12 | #ifndef _GPIO_UTILS_H_ |
15 | #define _GPIO_UTILS_H_ | 13 | #define _GPIO_UTILS_H_ |
diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c index eb3f56efd215..e1430f504c13 100644 --- a/tools/gpio/lsgpio.c +++ b/tools/gpio/lsgpio.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * lsgpio - example on how to list the GPIO lines on a system | 3 | * lsgpio - example on how to list the GPIO lines on a system |
3 | * | 4 | * |
4 | * Copyright (C) 2015 Linus Walleij | 5 | * Copyright (C) 2015 Linus Walleij |
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | * | ||
10 | * Usage: | 7 | * Usage: |
11 | * lsgpio <-n device-name> | 8 | * lsgpio <-n device-name> |
12 | */ | 9 | */ |
diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index 7bf9bde28bcc..f115d166c985 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Industrialio event test code. | 2 | /* Industrialio event test code. |
2 | * | 3 | * |
3 | * Copyright (c) 2011-2012 Lars-Peter Clausen <lars@metafoo.de> | 4 | * Copyright (c) 2011-2012 Lars-Peter Clausen <lars@metafoo.de> |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | * | ||
9 | * This program is primarily intended as an example application. | 6 | * This program is primarily intended as an example application. |
10 | * Reads the current buffer setup from sysfs and starts a short capture | 7 | * Reads the current buffer setup from sysfs and starts a short capture |
11 | * from the specified device, pretty printing the result after appropriate | 8 | * from the specified device, pretty printing the result after appropriate |
diff --git a/tools/iio/iio_generic_buffer.c b/tools/iio/iio_generic_buffer.c index 84545666a09c..34d63bcebcd2 100644 --- a/tools/iio/iio_generic_buffer.c +++ b/tools/iio/iio_generic_buffer.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* Industrialio buffer test code. | 2 | /* Industrialio buffer test code. |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | * | ||
9 | * This program is primarily intended as an example application. | 6 | * This program is primarily intended as an example application. |
10 | * Reads the current buffer setup from sysfs and starts a short capture | 7 | * Reads the current buffer setup from sysfs and starts a short capture |
11 | * from the specified device, pretty printing the result after appropriate | 8 | * from the specified device, pretty printing the result after appropriate |
@@ -15,7 +12,6 @@ | |||
15 | * generic_buffer -n <device_name> -t <trigger_name> | 12 | * generic_buffer -n <device_name> -t <trigger_name> |
16 | * If trigger name is not specified the program assumes you want a dataready | 13 | * If trigger name is not specified the program assumes you want a dataready |
17 | * trigger associated with the device and goes looking for it. | 14 | * trigger associated with the device and goes looking for it. |
18 | * | ||
19 | */ | 15 | */ |
20 | 16 | ||
21 | #include <unistd.h> | 17 | #include <unistd.h> |
diff --git a/tools/iio/iio_utils.c b/tools/iio/iio_utils.c index 7a6d61c6c012..a22b6e8fad46 100644 --- a/tools/iio/iio_utils.c +++ b/tools/iio/iio_utils.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* IIO - useful set of util functionality | 2 | /* IIO - useful set of util functionality |
2 | * | 3 | * |
3 | * Copyright (c) 2008 Jonathan Cameron | 4 | * Copyright (c) 2008 Jonathan Cameron |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it | ||
6 | * under the terms of the GNU General Public License version 2 as published by | ||
7 | * the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | #include <string.h> | 6 | #include <string.h> |
10 | #include <stdlib.h> | 7 | #include <stdlib.h> |
diff --git a/tools/iio/iio_utils.h b/tools/iio/iio_utils.h index 8b379da26e35..74bde4fde2c8 100644 --- a/tools/iio/iio_utils.h +++ b/tools/iio/iio_utils.h | |||
@@ -1,13 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef _IIO_UTILS_H_ | 2 | #ifndef _IIO_UTILS_H_ |
2 | #define _IIO_UTILS_H_ | 3 | #define _IIO_UTILS_H_ |
3 | 4 | ||
4 | /* IIO - useful set of util functionality | 5 | /* IIO - useful set of util functionality |
5 | * | 6 | * |
6 | * Copyright (c) 2008 Jonathan Cameron | 7 | * Copyright (c) 2008 Jonathan Cameron |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published by | ||
10 | * the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <stdint.h> | 10 | #include <stdint.h> |
diff --git a/tools/iio/lsiio.c b/tools/iio/lsiio.c index ab0f5cf16025..2cf56fb2449b 100644 --- a/tools/iio/lsiio.c +++ b/tools/iio/lsiio.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Industrial I/O utilities - lsiio.c | 3 | * Industrial I/O utilities - lsiio.c |
3 | * | 4 | * |
4 | * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> | 5 | * Copyright (c) 2010 Manuel Stahl <manuel.stahl@iis.fraunhofer.de> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <string.h> | 8 | #include <string.h> |
diff --git a/tools/perf/arch/arm/util/dwarf-regs.c b/tools/perf/arch/arm/util/dwarf-regs.c index 8bb176a37990..fc5f71c91802 100644 --- a/tools/perf/arch/arm/util/dwarf-regs.c +++ b/tools/perf/arch/arm/util/dwarf-regs.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Mapping of DWARF debug register numbers into register names. | 3 | * Mapping of DWARF debug register numbers into register names. |
3 | * | 4 | * |
4 | * Copyright (C) 2010 Will Deacon, ARM Ltd. | 5 | * Copyright (C) 2010 Will Deacon, ARM Ltd. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <stddef.h> | 8 | #include <stddef.h> |
diff --git a/tools/perf/arch/arm64/util/dwarf-regs.c b/tools/perf/arch/arm64/util/dwarf-regs.c index cd764a9fd098..b047b882c5b1 100644 --- a/tools/perf/arch/arm64/util/dwarf-regs.c +++ b/tools/perf/arch/arm64/util/dwarf-regs.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Mapping of DWARF debug register numbers into register names. | 3 | * Mapping of DWARF debug register numbers into register names. |
3 | * | 4 | * |
4 | * Copyright (C) 2010 Will Deacon, ARM Ltd. | 5 | * Copyright (C) 2010 Will Deacon, ARM Ltd. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <errno.h> | 8 | #include <errno.h> |
diff --git a/tools/perf/arch/arm64/util/sym-handling.c b/tools/perf/arch/arm64/util/sym-handling.c index 0051b1ee8450..27fcf24d6850 100644 --- a/tools/perf/arch/arm64/util/sym-handling.c +++ b/tools/perf/arch/arm64/util/sym-handling.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License, version 2, as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation | 4 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation |
7 | */ | 5 | */ |
diff --git a/tools/perf/arch/powerpc/util/sym-handling.c b/tools/perf/arch/powerpc/util/sym-handling.c index 10a44e946f77..b0a67eaf2ce8 100644 --- a/tools/perf/arch/powerpc/util/sym-handling.c +++ b/tools/perf/arch/powerpc/util/sym-handling.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License, version 2, as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation | 4 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation |
7 | */ | 5 | */ |
diff --git a/tools/perf/util/namespaces.c b/tools/perf/util/namespaces.c index aed170bd4384..023c4efd788d 100644 --- a/tools/perf/util/namespaces.c +++ b/tools/perf/util/namespaces.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License, version 2, as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2017 Hari Bathini, IBM Corporation | 4 | * Copyright (C) 2017 Hari Bathini, IBM Corporation |
7 | */ | 5 | */ |
diff --git a/tools/perf/util/namespaces.h b/tools/perf/util/namespaces.h index d5f46c09ea31..15a5a276c478 100644 --- a/tools/perf/util/namespaces.h +++ b/tools/perf/util/namespaces.h | |||
@@ -1,7 +1,5 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License, version 2, as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2017 Hari Bathini, IBM Corporation | 4 | * Copyright (C) 2017 Hari Bathini, IBM Corporation |
7 | */ | 5 | */ |
diff --git a/tools/power/acpi/tools/acpidbg/acpidbg.c b/tools/power/acpi/tools/acpidbg/acpidbg.c index 4308362d7068..3d2bfd716028 100644 --- a/tools/power/acpi/tools/acpidbg/acpidbg.c +++ b/tools/power/acpi/tools/acpidbg/acpidbg.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ACPI AML interfacing userspace utility | 3 | * ACPI AML interfacing userspace utility |
3 | * | 4 | * |
4 | * Copyright (C) 2015, Intel Corporation | 5 | * Copyright (C) 2015, Intel Corporation |
5 | * Authors: Lv Zheng <lv.zheng@intel.com> | 6 | * Authors: Lv Zheng <lv.zheng@intel.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <acpi/acpi.h> | 9 | #include <acpi/acpi.h> |
diff --git a/tools/testing/selftests/gpio/gpio-mockup-chardev.c b/tools/testing/selftests/gpio/gpio-mockup-chardev.c index d587c814a9ca..73ead8828d3a 100644 --- a/tools/testing/selftests/gpio/gpio-mockup-chardev.c +++ b/tools/testing/selftests/gpio/gpio-mockup-chardev.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * GPIO chardev test helper | 3 | * GPIO chardev test helper |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Bamvor Jian Zhang | 5 | * Copyright (C) 2016 Bamvor Jian Zhang |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published by | ||
8 | * the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define _GNU_SOURCE | 8 | #define _GNU_SOURCE |
diff --git a/tools/testing/selftests/ia64/aliasing-test.c b/tools/testing/selftests/ia64/aliasing-test.c index 62a190d45f38..1ad6896f10f7 100644 --- a/tools/testing/selftests/ia64/aliasing-test.c +++ b/tools/testing/selftests/ia64/aliasing-test.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Exercise /dev/mem mmap cases that have been troublesome in the past | 3 | * Exercise /dev/mem mmap cases that have been troublesome in the past |
3 | * | 4 | * |
4 | * (c) Copyright 2007 Hewlett-Packard Development Company, L.P. | 5 | * (c) Copyright 2007 Hewlett-Packard Development Company, L.P. |
5 | * Bjorn Helgaas <bjorn.helgaas@hp.com> | 6 | * Bjorn Helgaas <bjorn.helgaas@hp.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <stdlib.h> | 9 | #include <stdlib.h> |
diff --git a/tools/testing/selftests/powerpc/dscr/dscr.h b/tools/testing/selftests/powerpc/dscr/dscr.h index cdb840bc54f2..13e9b9e28e2c 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr.h +++ b/tools/testing/selftests/powerpc/dscr/dscr.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) | 3 | * POWER Data Stream Control Register (DSCR) |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Copyright 2012, Anton Blanchard, IBM Corporation. | 8 | * Copyright 2012, Anton Blanchard, IBM Corporation. |
8 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 9 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published | ||
12 | * by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #ifndef _SELFTESTS_POWERPC_DSCR_DSCR_H | 11 | #ifndef _SELFTESTS_POWERPC_DSCR_DSCR_H |
15 | #define _SELFTESTS_POWERPC_DSCR_DSCR_H | 12 | #define _SELFTESTS_POWERPC_DSCR_DSCR_H |
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_default_test.c b/tools/testing/selftests/powerpc/dscr/dscr_default_test.c index 9e1a37e93b63..288a4e2ad156 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_default_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_default_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) default test | 3 | * POWER Data Stream Control Register (DSCR) default test |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * | 8 | * |
8 | * Copyright 2012, Anton Blanchard, IBM Corporation. | 9 | * Copyright 2012, Anton Blanchard, IBM Corporation. |
9 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 10 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published | ||
13 | * by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | #include "dscr.h" | 12 | #include "dscr.h" |
16 | 13 | ||
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c b/tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c index ad9c3ec26048..aefcd8d8759b 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) explicit test | 3 | * POWER Data Stream Control Register (DSCR) explicit test |
3 | * | 4 | * |
@@ -13,10 +14,6 @@ | |||
13 | * | 14 | * |
14 | * Copyright 2012, Anton Blanchard, IBM Corporation. | 15 | * Copyright 2012, Anton Blanchard, IBM Corporation. |
15 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 16 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify it | ||
18 | * under the terms of the GNU General Public License version 2 as published | ||
19 | * by the Free Software Foundation. | ||
20 | */ | 17 | */ |
21 | #include "dscr.h" | 18 | #include "dscr.h" |
22 | 19 | ||
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c b/tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c index c8c240accc0c..7c1cb46397c6 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) fork exec test | 3 | * POWER Data Stream Control Register (DSCR) fork exec test |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * | 13 | * |
13 | * Copyright 2012, Anton Blanchard, IBM Corporation. | 14 | * Copyright 2012, Anton Blanchard, IBM Corporation. |
14 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 15 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify it | ||
17 | * under the terms of the GNU General Public License version 2 as published | ||
18 | * by the Free Software Foundation. | ||
19 | */ | 16 | */ |
20 | #include "dscr.h" | 17 | #include "dscr.h" |
21 | 18 | ||
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c b/tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c index 3e5a6d195e9a..04297a69ab59 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) fork test | 3 | * POWER Data Stream Control Register (DSCR) fork test |
3 | * | 4 | * |
@@ -13,10 +14,6 @@ | |||
13 | * | 14 | * |
14 | * Copyright 2012, Anton Blanchard, IBM Corporation. | 15 | * Copyright 2012, Anton Blanchard, IBM Corporation. |
15 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 16 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify it | ||
18 | * under the terms of the GNU General Public License version 2 as published | ||
19 | * by the Free Software Foundation. | ||
20 | */ | 17 | */ |
21 | #include "dscr.h" | 18 | #include "dscr.h" |
22 | 19 | ||
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c b/tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c index 1899bd85121f..02f6b4efde14 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) sysfs interface test | 3 | * POWER Data Stream Control Register (DSCR) sysfs interface test |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * well verified from their sysfs interfaces. | 7 | * well verified from their sysfs interfaces. |
7 | * | 8 | * |
8 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 9 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License version 2 as published | ||
12 | * by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include "dscr.h" | 11 | #include "dscr.h" |
15 | 12 | ||
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c b/tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c index ad97b592eccc..37be2c25f277 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) sysfs thread test | 3 | * POWER Data Stream Control Register (DSCR) sysfs thread test |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * executing on individual CPUs on the system. | 8 | * executing on individual CPUs on the system. |
8 | * | 9 | * |
9 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 10 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published | ||
13 | * by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | #define _GNU_SOURCE | 12 | #define _GNU_SOURCE |
16 | #include "dscr.h" | 13 | #include "dscr.h" |
diff --git a/tools/testing/selftests/powerpc/dscr/dscr_user_test.c b/tools/testing/selftests/powerpc/dscr/dscr_user_test.c index 77d16b5e7dca..eaf785d11eed 100644 --- a/tools/testing/selftests/powerpc/dscr/dscr_user_test.c +++ b/tools/testing/selftests/powerpc/dscr/dscr_user_test.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * POWER Data Stream Control Register (DSCR) SPR test | 3 | * POWER Data Stream Control Register (DSCR) SPR test |
3 | * | 4 | * |
@@ -14,10 +15,6 @@ | |||
14 | * | 15 | * |
15 | * Copyright 2013, Anton Blanchard, IBM Corporation. | 16 | * Copyright 2013, Anton Blanchard, IBM Corporation. |
16 | * Copyright 2015, Anshuman Khandual, IBM Corporation. | 17 | * Copyright 2015, Anshuman Khandual, IBM Corporation. |
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify it | ||
19 | * under the terms of the GNU General Public License version 2 as published | ||
20 | * by the Free Software Foundation. | ||
21 | */ | 18 | */ |
22 | #include "dscr.h" | 19 | #include "dscr.h" |
23 | 20 | ||
diff --git a/tools/wmi/dell-smbios-example.c b/tools/wmi/dell-smbios-example.c index 9d3bde081249..1f3e7ab14b68 100644 --- a/tools/wmi/dell-smbios-example.c +++ b/tools/wmi/dell-smbios-example.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Sample application for SMBIOS communication over WMI interface | 3 | * Sample application for SMBIOS communication over WMI interface |
3 | * Performs the following: | 4 | * Performs the following: |
@@ -6,10 +7,6 @@ | |||
6 | * - Simple activation of a token | 7 | * - Simple activation of a token |
7 | * | 8 | * |
8 | * Copyright (C) 2017 Dell, Inc. | 9 | * Copyright (C) 2017 Dell, Inc. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <errno.h> | 12 | #include <errno.h> |