diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-07 17:30:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-07 18:36:43 +0100 |
commit | d9d16e16a3f82e88fec99222c9c7e26563b05688 (patch) | |
tree | f7941ec1cdb4e0cef97fb45f57e3041e088019f7 /samples | |
parent | 82bdf495169f2e4c25c5bd0f9384b687d358ebac (diff) | |
download | linux-d9d16e16a3f82e88fec99222c9c7e26563b05688.tar.bz2 |
kobject: add SPDX identifiers to all kobject files
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.
Update the kobject files files with the correct SPDX license identifier
based on the license text in the file itself. The SPDX identifier is a
legally binding shorthand, which can be used instead of the full boiler
plate text.
This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/kobject/kobject-example.c | 1 | ||||
-rw-r--r-- | samples/kobject/kset-example.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c index 2e0740f06cd7..6cc8bb36a4e8 100644 --- a/samples/kobject/kobject-example.c +++ b/samples/kobject/kobject-example.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Sample kobject implementation * diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c index a55bff52bde3..58543eca7f16 100644 --- a/samples/kobject/kset-example.c +++ b/samples/kobject/kset-example.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Sample kset and ktype implementation * |