Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sysfs: use SPDX identifiers

Move the license "mark" of the sysfs files to be in SPDX form, instead
of the custom text that it currently is in. This is in a quest to get
rid of the 700+ different ways we say "GPLv2" in the kernel tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

+6 -13
+1 -2
fs/sysfs/dir.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * fs/sysfs/dir.c - sysfs core and dir operation implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 7 - * 8 - * This file is released under the GPLv2. 9 8 * 10 9 * Please see Documentation/filesystems/sysfs.txt for more information. 11 10 */
+1 -2
fs/sysfs/file.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * fs/sysfs/file.c - sysfs regular (text) file implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 7 - * 8 - * This file is released under the GPLv2. 9 8 * 10 9 * Please see Documentation/filesystems/sysfs.txt for more information. 11 10 */
+1 -3
fs/sysfs/group.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * fs/sysfs/group.c - Operations for adding/removing multiple files at once. 3 4 * ··· 6 5 * Copyright (c) 2003 Open Source Development Lab 7 6 * Copyright (c) 2013 Greg Kroah-Hartman 8 7 * Copyright (c) 2013 The Linux Foundation 9 - * 10 - * This file is released undert the GPL v2. 11 - * 12 8 */ 13 9 14 10 #include <linux/kobject.h>
+1 -2
fs/sysfs/mount.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 7 - * 8 - * This file is released under the GPLv2. 9 8 * 10 9 * Please see Documentation/filesystems/sysfs.txt for more information. 11 10 */
+1 -2
fs/sysfs/symlink.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * fs/sysfs/symlink.c - sysfs symlink implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 7 - * 8 - * This file is released under the GPLv2. 9 8 * 10 9 * Please see Documentation/filesystems/sysfs.txt for more information. 11 10 */
+1 -2
fs/sysfs/sysfs.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * fs/sysfs/sysfs.h - sysfs internal header file 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #ifndef __SYSFS_INTERNAL_H