فهرست منبع

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>
Greg Kroah-Hartman 8 سال پیش
والد
کامیت
d9d16e16a3
6فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 1 0
      include/linux/kobject.h
  2. 1 0
      include/linux/kobject_ns.h
  3. 1 0
      lib/kobject.c
  4. 1 0
      lib/kobject_uevent.c
  5. 1 0
      samples/kobject/kobject-example.c
  6. 1 0
      samples/kobject/kset-example.c

+ 1 - 0
include/linux/kobject.h

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * kobject.h - generic kernel object infrastructure.
  *

+ 1 - 0
include/linux/kobject_ns.h

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* Kernel object name space definitions
  *
  * Copyright (c) 2002-2003 Patrick Mochel

+ 1 - 0
lib/kobject.c

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * kobject.c - library routines for handling generic kernel objects
  *

+ 1 - 0
lib/kobject_uevent.c

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * kernel userspace event delivery
  *

+ 1 - 0
samples/kobject/kobject-example.c

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Sample kobject implementation
  *

+ 1 - 0
samples/kobject/kset-example.c

@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Sample kset and ktype implementation
  *