Skip to content

Commit 2be2134

Browse files
committed
tree: Add missing SPDX or fix SPDX location
to fix: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 WARNING: Misplaced SPDX-License-Identifier tag - use line 1 instead + add missing copyright to tst_taint.c and mem.h Signed-off-by: Petr Vorel <[email protected]>
1 parent 267ca1c commit 2be2134

File tree

12 files changed

+20
-18
lines changed

12 files changed

+20
-18
lines changed

lib/newlib_tests/test_kconfig.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* Copyright (c) 2018 Cyril Hrubis <[email protected]>
34
*/

lib/tst_taint.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
2+
/*
3+
* Copyright (c) 2018 Michael Moese <[email protected]>
4+
* Copyright (c) Linux Test Project, 2020
5+
*/
6+
17
#define TST_NO_DEFAULT_MAIN
28

39
#include "tst_test.h"

libs/libltpnuma/tst_numa.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
* SPDX-License-Identifier: GPL-2.0-or-later
3-
*
43
* Copyright (c) 2018 Cyril Hrubis <[email protected]>
54
*/
65

testcases/kernel/mem/include/mem.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
2+
/*
3+
* Copyright (c) Linux Test Project, 2011-2021
4+
*/
15
#ifndef _MEM_H
26
#define _MEM_H
37
#include "config.h"

testcases/kernel/syscalls/bind/bind03.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* Copyright (c) 2018 Michael Moese <[email protected]>
3-
*
4-
* SPDX-License-Identifier: GPL-2.0-or-later
54
*/
65
/* The commit 0fb44559ffd6 af_unix: move unix_mknod() out of bindlock
76
* changed the behavior of bind() for STREAM UNIX domain sockets if

testcases/kernel/syscalls/mbind/mbind02.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
* SPDX-License-Identifier: GPL-2.0-or-later
3-
*
43
* Copyright (c) 2019 Cyril Hrubis <[email protected]>
54
*/
65

testcases/kernel/syscalls/mbind/mbind03.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
* SPDX-License-Identifier: GPL-2.0-or-later
3-
*
43
* Copyright (c) 2019 Cyril Hrubis <[email protected]>
54
*/
65

testcases/kernel/syscalls/mbind/mbind04.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
* SPDX-License-Identifier: GPL-2.0-or-later
3-
*
43
* Copyright (c) 2019 Cyril Hrubis <[email protected]>
54
*/
65

testcases/kernel/syscalls/set_mempolicy/set_mempolicy01.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
* SPDX-License-Identifier: GPL-2.0-or-later
3-
*
43
* Copyright (c) 2018 Cyril Hrubis <[email protected]>
54
*/
65

testcases/kernel/syscalls/set_mempolicy/set_mempolicy02.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
* SPDX-License-Identifier: GPL-2.0-or-later
3-
*
43
* Copyright (c) 2018 Cyril Hrubis <[email protected]>
54
*/
65

0 commit comments

Comments
 (0)