Skip to content

Commit

Permalink
staging: lustre: add SPDX identifiers to all lustre files
Browse files Browse the repository at this point in the history
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.

Update the drivers/staging/lustre 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: Oleg Drokin <oleg.drokin@intel.com>
Cc: James Simmons <jsimmons@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
gregkh committed Nov 11, 2017
1 parent 863dbc5 commit c14dd9d
Show file tree
Hide file tree
Showing 271 changed files with 271 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/curproc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/lnet/api.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/lnet/lib-lnet.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/lnet/lib-types.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/include/linux/lnet/socklnd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/klnds/socklnd/socklnd_proto.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/debug.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/fail.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/hash.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/libcfs_lock.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/libcfs_mem.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/libcfs_string.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-cpu.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-crypto.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-crypto.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-curproc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-mem.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-module.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-prim.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/linux/linux-tracefile.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/module.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/prng.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/tracefile.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/tracefile.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/libcfs/workitem.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/acceptor.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/api-ni.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/config.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-eq.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-md.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-me.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-move.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-msg.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-ptl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lib-socket.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/lo.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/module.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/net_fault.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/nidstrings.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/peer.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/router.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/lnet/router_proc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/brw_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/conctl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/conrpc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/conrpc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/console.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/console.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/framework.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/module.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/ping_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/rpc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/rpc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/lustre/lnet/selftest/selftest.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
Expand Down
Loading

0 comments on commit c14dd9d

Please sign in to comment.