Skip to content

Commit 6cad1ec

Browse files
mcgrofgregkh
authored andcommitted
testing: use the copyleft-next-0.3.1 SPDX tag
Two selftests drivers exist under the copyleft-next license. These drivers were added prior to SPDX practice taking full swing in the kernel. Now that we have an SPDX tag for copyleft-next-0.3.1 documented, embrace it and remove the boiler plate. Cc: Goldwyn Rodrigues <[email protected]> Cc: Kuno Woudt <[email protected]> Cc: Richard Fontana <[email protected]> Cc: [email protected] Cc: Ciaran Farrell <[email protected]> Cc: Christopher De Nicolo <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Thorsten Leemhuis <[email protected]> Cc: Andrew Morton <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]> Reviewed-by: Tim Bird <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ad9f64c commit 6cad1ec

File tree

4 files changed

+4
-45
lines changed

4 files changed

+4
-45
lines changed

lib/test_kmod.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1
12
/*
23
* kmod stress test driver
34
*
45
* Copyright (C) 2017 Luis R. Rodriguez <[email protected]>
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 as published by the Free
8-
* Software Foundation; either version 2 of the License, or at your option any
9-
* later version; or, when distributed separately from the Linux kernel or
10-
* when incorporated into other software packages, subject to the following
11-
* license:
12-
*
13-
* This program is free software; you can redistribute it and/or modify it
14-
* under the terms of copyleft-next (version 0.3.1 or later) as published
15-
* at http://copyleft-next.org/.
166
*/
177
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
188

lib/test_sysctl.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1
12
/*
23
* proc sysctl test driver
34
*
45
* Copyright (C) 2017 Luis R. Rodriguez <[email protected]>
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 as published by the Free
8-
* Software Foundation; either version 2 of the License, or at your option any
9-
* later version; or, when distributed separately from the Linux kernel or
10-
* when incorporated into other software packages, subject to the following
11-
* license:
12-
*
13-
* This program is free software; you can redistribute it and/or modify it
14-
* under the terms of copyleft-next (version 0.3.1 or later) as published
15-
* at http://copyleft-next.org/.
166
*/
177

188
/*

tools/testing/selftests/kmod/kmod.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
#!/bin/bash
2-
#
2+
# SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1
33
# Copyright (C) 2017 Luis R. Rodriguez <[email protected]>
44
#
5-
# This program is free software; you can redistribute it and/or modify it
6-
# under the terms of the GNU General Public License as published by the Free
7-
# Software Foundation; either version 2 of the License, or at your option any
8-
# later version; or, when distributed separately from the Linux kernel or
9-
# when incorporated into other software packages, subject to the following
10-
# license:
11-
#
12-
# This program is free software; you can redistribute it and/or modify it
13-
# under the terms of copyleft-next (version 0.3.1 or later) as published
14-
# at http://copyleft-next.org/.
15-
165
# This is a stress test script for kmod, the kernel module loader. It uses
176
# test_kmod which exposes a series of knobs for the API for us so we can
187
# tweak each test in userspace rather than in kernelspace.

tools/testing/selftests/sysctl/sysctl.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
#!/bin/bash
2+
# SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1
23
# Copyright (C) 2017 Luis R. Rodriguez <[email protected]>
3-
#
4-
# This program is free software; you can redistribute it and/or modify it
5-
# under the terms of the GNU General Public License as published by the Free
6-
# Software Foundation; either version 2 of the License, or at your option any
7-
# later version; or, when distributed separately from the Linux kernel or
8-
# when incorporated into other software packages, subject to the following
9-
# license:
10-
#
11-
# This program is free software; you can redistribute it and/or modify it
12-
# under the terms of copyleft-next (version 0.3.1 or later) as published
13-
# at http://copyleft-next.org/.
144

155
# This performs a series tests against the proc sysctl interface.
166

0 commit comments

Comments
 (0)