summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-07 16:59:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-07 20:25:03 +0100
commit3bce94fd5f4c05337dedbe218501fb9f8789fc40 (patch)
treedfc17f1bae88c38dcd0a4c34fd4ba6ad903e6e3a
parent7d39bc50c47b3f8ed0e1a9d671ecb9ec02f10a2d (diff)
debugfs: add SPDX identifiers to all debugfs 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 debugfs 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> Cc: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--fs/debugfs/file.c1
-rw-r--r--fs/debugfs/inode.c1
-rw-r--r--fs/debugfs/internal.h1
-rw-r--r--include/linux/debugfs.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index 65872340e301..133be3c689af 100644
--- a/fs/debugfs/file.c
+++ b/fs/debugfs/file.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* file.c - part of debugfs, a tiny little debug file system
*
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 9dca4da059b3..7c107b3b9c93 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* inode.c - part of debugfs, a tiny little debug file system
*
diff --git a/fs/debugfs/internal.h b/fs/debugfs/internal.h
index cb1e8139c398..b9567541b737 100644
--- a/fs/debugfs/internal.h
+++ b/fs/debugfs/internal.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* internal.h - declarations internal to debugfs
*
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index 9f821a43bb0d..7beab3fd2f1a 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* debugfs.h - a tiny little debug file system
*