[PATCH] scripts: Use SPDX tag in get_maintainer and checkpatch

From: Joe Perches
Date: Tue Jun 05 2018 - 12:51:28 EST


Add the appropriate SPDX tag to these scripts.

Miscellanea:

o Add my copyright to checkpatch

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
scripts/checkpatch.pl | 4 +++-
scripts/get_maintainer.pl | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2d42eb9cd1a5..7aadfded3fe0 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1,9 +1,11 @@
#!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0
+#
# (c) 2001, Dave Jones. (the file handling bit)
# (c) 2005, Joel Schopp <jschopp@xxxxxxxxxxxxxx> (the ugly bit)
# (c) 2007,2008, Andy Whitcroft <apw@xxxxxxxxxx> (new conditions, test suite)
# (c) 2008-2010 Andy Whitcroft <apw@xxxxxxxxxxxxx>
-# Licensed under the terms of the GNU GPL License version 2
+# (c) 2010-2018 Joe Perches <joe@xxxxxxxxxxx>

use strict;
use warnings;
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 99c96e86eccb..30eca36b4dad 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -1,4 +1,6 @@
#!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0
+#
# (c) 2007, Joe Perches <joe@xxxxxxxxxxx>
# created from checkpatch.pl
#
@@ -7,8 +9,6 @@
#
# usage: perl scripts/get_maintainer.pl [OPTIONS] <patch>
# perl scripts/get_maintainer.pl [OPTIONS] -f <file>
-#
-# Licensed under the terms of the GNU GPL License version 2

use warnings;
use strict;