diff options
Diffstat (limited to 'tools/testing')
10 files changed, 10 insertions, 40 deletions
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 | ||