diff options
| -rwxr-xr-x | scripts/bootgraph.pl | 2 | ||||
| -rwxr-xr-x | scripts/checkincludes.pl | 2 | ||||
| -rwxr-xr-x | scripts/checkpatch.pl | 3 | ||||
| -rwxr-xr-x | scripts/checkstack.pl | 2 | ||||
| -rwxr-xr-x | scripts/checkversion.pl | 2 | ||||
| -rwxr-xr-x | scripts/cleanfile | 3 | ||||
| -rwxr-xr-x | scripts/cleanpatch | 3 | ||||
| -rwxr-xr-x | scripts/dtc/dt_to_config | 2 | ||||
| -rwxr-xr-x | scripts/export_report.pl | 3 | ||||
| -rwxr-xr-x | scripts/extract-module-sig.pl | 3 | ||||
| -rwxr-xr-x | scripts/extract-sys-certs.pl | 3 | ||||
| -rwxr-xr-x | scripts/extract_xc3028.pl | 2 | ||||
| -rwxr-xr-x | scripts/gen_initramfs_list.sh | 2 | ||||
| -rwxr-xr-x | scripts/get_dvb_firmware | 2 | ||||
| -rwxr-xr-x | scripts/get_maintainer.pl | 3 | ||||
| -rwxr-xr-x | scripts/headerdep.pl | 2 | ||||
| -rwxr-xr-x | scripts/headers_check.pl | 3 | ||||
| -rwxr-xr-x | scripts/kconfig/streamline_config.pl | 3 | ||||
| -rwxr-xr-x | scripts/kernel-doc | 3 | ||||
| -rwxr-xr-x | scripts/markup_oops.pl | 2 | ||||
| -rwxr-xr-x | scripts/mkcompile_h | 2 | ||||
| -rwxr-xr-x | scripts/namespace.pl | 4 | ||||
| -rwxr-xr-x | scripts/profile2linkerlist.pl | 2 | ||||
| -rwxr-xr-x | scripts/recordmcount.pl | 3 | ||||
| -rwxr-xr-x | scripts/stackdelta | 2 |
25 files changed, 37 insertions, 26 deletions
diff --git a/scripts/bootgraph.pl b/scripts/bootgraph.pl index 9ca667bcaee9..594c55541b16 100755 --- a/scripts/bootgraph.pl +++ b/scripts/bootgraph.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/bin/env perl |
| 2 | 2 | ||
| 3 | # Copyright 2008, Intel Corporation | 3 | # Copyright 2008, Intel Corporation |
| 4 | # | 4 | # |
diff --git a/scripts/checkincludes.pl b/scripts/checkincludes.pl index 381c018a4612..ce9edefd6e0b 100755 --- a/scripts/checkincludes.pl +++ b/scripts/checkincludes.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | # checkincludes: find/remove files included more than once | 3 | # checkincludes: find/remove files included more than once |
| 4 | # | 4 | # |
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 57e7daa2bdf9..3a225d078e75 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # (c) 2001, Dave Jones. (the file handling bit) | 2 | # (c) 2001, Dave Jones. (the file handling bit) |
| 3 | # (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit) | 3 | # (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) | 4 | # (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite) |
| @@ -6,6 +6,7 @@ | |||
| 6 | # Licensed under the terms of the GNU GPL License version 2 | 6 | # Licensed under the terms of the GNU GPL License version 2 |
| 7 | 7 | ||
| 8 | use strict; | 8 | use strict; |
| 9 | use warnings; | ||
| 9 | use POSIX; | 10 | use POSIX; |
| 10 | use File::Basename; | 11 | use File::Basename; |
| 11 | use Cwd 'abs_path'; | 12 | use Cwd 'abs_path'; |
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 9d37aa4faf5c..7f4c41717e26 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/bin/env perl |
| 2 | 2 | ||
| 3 | # Check the stack usage of functions | 3 | # Check the stack usage of functions |
| 4 | # | 4 | # |
diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl index 5e490a8ceca5..8b4f205234b5 100755 --- a/scripts/checkversion.pl +++ b/scripts/checkversion.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #! /usr/bin/perl | 1 | #! /usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | # checkversion find uses of LINUX_VERSION_CODE or KERNEL_VERSION | 3 | # checkversion find uses of LINUX_VERSION_CODE or KERNEL_VERSION |
| 4 | # without including <linux/version.h>, or cases of | 4 | # without including <linux/version.h>, or cases of |
diff --git a/scripts/cleanfile b/scripts/cleanfile index cefd29e52298..72e3755327ae 100755 --- a/scripts/cleanfile +++ b/scripts/cleanfile | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | # Clean a text file -- or directory of text files -- of stealth whitespace. | 3 | # Clean a text file -- or directory of text files -- of stealth whitespace. |
| 4 | # WARNING: this can be a highly destructive operation. Use with caution. | 4 | # WARNING: this can be a highly destructive operation. Use with caution. |
| 5 | # | 5 | # |
| 6 | 6 | ||
| 7 | use warnings; | ||
| 7 | use bytes; | 8 | use bytes; |
| 8 | use File::Basename; | 9 | use File::Basename; |
| 9 | 10 | ||
diff --git a/scripts/cleanpatch b/scripts/cleanpatch index 9680d03ad2b8..3e5a2303dc0e 100755 --- a/scripts/cleanpatch +++ b/scripts/cleanpatch | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | # Clean a patch file -- or directory of patch files -- of stealth whitespace. | 3 | # Clean a patch file -- or directory of patch files -- of stealth whitespace. |
| 4 | # WARNING: this can be a highly destructive operation. Use with caution. | 4 | # WARNING: this can be a highly destructive operation. Use with caution. |
| 5 | # | 5 | # |
| 6 | 6 | ||
| 7 | use warnings; | ||
| 7 | use bytes; | 8 | use bytes; |
| 8 | use File::Basename; | 9 | use File::Basename; |
| 9 | 10 | ||
diff --git a/scripts/dtc/dt_to_config b/scripts/dtc/dt_to_config index 9a248b505c58..5dfd1bff351f 100755 --- a/scripts/dtc/dt_to_config +++ b/scripts/dtc/dt_to_config | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/bin/env perl |
| 2 | 2 | ||
| 3 | # Copyright 2016 by Frank Rowand | 3 | # Copyright 2016 by Frank Rowand |
| 4 | # Copyright 2016 by Gaurav Minocha | 4 | # Copyright 2016 by Gaurav Minocha |
diff --git a/scripts/export_report.pl b/scripts/export_report.pl index 8f79b701de87..68ff426b347c 100755 --- a/scripts/export_report.pl +++ b/scripts/export_report.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | # (C) Copyright IBM Corporation 2006. | 3 | # (C) Copyright IBM Corporation 2006. |
| 4 | # Released under GPL v2. | 4 | # Released under GPL v2. |
| @@ -7,6 +7,7 @@ | |||
| 7 | # Usage: export_report.pl -k Module.symvers [-o report_file ] -f *.mod.c | 7 | # Usage: export_report.pl -k Module.symvers [-o report_file ] -f *.mod.c |
| 8 | # | 8 | # |
| 9 | 9 | ||
| 10 | use warnings; | ||
| 10 | use Getopt::Std; | 11 | use Getopt::Std; |
| 11 | use strict; | 12 | use strict; |
| 12 | 13 | ||
diff --git a/scripts/extract-module-sig.pl b/scripts/extract-module-sig.pl index faac6f2e377f..0f161ea41261 100755 --- a/scripts/extract-module-sig.pl +++ b/scripts/extract-module-sig.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | # extract-mod-sig <part> <module-file> | 3 | # extract-mod-sig <part> <module-file> |
| 4 | # | 4 | # |
| @@ -12,6 +12,7 @@ | |||
| 12 | # -k: Just the key ID | 12 | # -k: Just the key ID |
| 13 | # -s: Just the crypto signature or PKCS#7 message | 13 | # -s: Just the crypto signature or PKCS#7 message |
| 14 | # | 14 | # |
| 15 | use warnings; | ||
| 15 | use strict; | 16 | use strict; |
| 16 | 17 | ||
| 17 | die "Format: $0 -[0adnks] module-file >out\n" | 18 | die "Format: $0 -[0adnks] module-file >out\n" |
diff --git a/scripts/extract-sys-certs.pl b/scripts/extract-sys-certs.pl index 8227ca10a494..2aa873b944e0 100755 --- a/scripts/extract-sys-certs.pl +++ b/scripts/extract-sys-certs.pl | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # | 2 | # |
| 3 | use warnings; | ||
| 3 | use strict; | 4 | use strict; |
| 4 | use Math::BigInt; | 5 | use Math::BigInt; |
| 5 | use Fcntl "SEEK_SET"; | 6 | use Fcntl "SEEK_SET"; |
diff --git a/scripts/extract_xc3028.pl b/scripts/extract_xc3028.pl index 47877deae6d7..61d9b256c658 100755 --- a/scripts/extract_xc3028.pl +++ b/scripts/extract_xc3028.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/bin/env perl |
| 2 | 2 | ||
| 3 | # Copyright (c) Mauro Carvalho Chehab <mchehab@infradead.org> | 3 | # Copyright (c) Mauro Carvalho Chehab <mchehab@infradead.org> |
| 4 | # Released under GPLv2 | 4 | # Released under GPLv2 |
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh index cb470fdee733..86a3c0e5cfbc 100755 --- a/scripts/gen_initramfs_list.sh +++ b/scripts/gen_initramfs_list.sh | |||
| @@ -174,7 +174,7 @@ dir_filelist() { | |||
| 174 | ${dep_list}header "$1" | 174 | ${dep_list}header "$1" |
| 175 | 175 | ||
| 176 | srcdir=$(echo "$1" | sed -e 's://*:/:g') | 176 | srcdir=$(echo "$1" | sed -e 's://*:/:g') |
| 177 | dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n") | 177 | dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" | sort) |
| 178 | 178 | ||
| 179 | # If $dirlist is only one line, then the directory is empty | 179 | # If $dirlist is only one line, then the directory is empty |
| 180 | if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then | 180 | if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then |
diff --git a/scripts/get_dvb_firmware b/scripts/get_dvb_firmware index 1a0a04125f71..f3f230225aba 100755 --- a/scripts/get_dvb_firmware +++ b/scripts/get_dvb_firmware | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl | 1 | #!/usr/bin/env perl |
| 2 | # DVB firmware extractor | 2 | # DVB firmware extractor |
| 3 | # | 3 | # |
| 4 | # (c) 2004 Andrew de Quincey | 4 | # (c) 2004 Andrew de Quincey |
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 633f2dd3de27..3bd5f4f30235 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | # (c) 2007, Joe Perches <joe@perches.com> | 2 | # (c) 2007, Joe Perches <joe@perches.com> |
| 3 | # created from checkpatch.pl | 3 | # created from checkpatch.pl |
| 4 | # | 4 | # |
| @@ -10,6 +10,7 @@ | |||
| 10 | # | ||
