History

scripts: use SPDX tag in get_maintainer and checkpatch

Add the appropriate SPDX tag to these scripts. Miscellanea: o Add my copyright to checkpatch

Joe Perches committed 8 years ago

Commit 882ea1d1 parent ab77dab2 files · +5 −3Browse files

Showing the changes to scripts (2 of 2 files). Show all

Unified · Split

2 files
  1. scripts/checkpatch.pl +3 −1
  2. scripts/get_maintainer.pl +2 −2
scripts/checkpatch.pl+3−1
@@ -1,9 +1,11 @@
1#!/usr/bin/env perl1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
3#
2# (c) 2001, Dave Jones. (the file handling bit)4# (c) 2001, Dave Jones. (the file handling bit)
3# (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)5# (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
4# (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)6# (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)
5# (c) 2008-2010 Andy Whitcroft <apw@canonical.com>7# (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
6# Licensed under the terms of the GNU GPL License version 28# (c) 2010-2018 Joe Perches <joe@perches.com>
7 9
8use strict;10use strict;
9use warnings;11use warnings;
scripts/get_maintainer.pl+2−2
@@ -1,4 +1,6 @@
1#!/usr/bin/env perl1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
3#
2# (c) 2007, Joe Perches <joe@perches.com>4# (c) 2007, Joe Perches <joe@perches.com>
3# created from checkpatch.pl5# created from checkpatch.pl
4#6#
@@ -7,8 +9,6 @@ · 2 unmodified lines
7#9#
8# usage: perl scripts/get_maintainer.pl [OPTIONS] <patch>10# usage: perl scripts/get_maintainer.pl [OPTIONS] <patch>
9# perl scripts/get_maintainer.pl [OPTIONS] -f <file>11# perl scripts/get_maintainer.pl [OPTIONS] -f <file>
10#
11# Licensed under the terms of the GNU GPL License version 2
12 12
13use warnings;13use warnings;
14use strict;14use strict;