diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 00:09:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 00:09:09 +0200 |
commit | 16ffc4c39415e62c1d027d1bc59ee28e267d59f2 (patch) | |
tree | 6b341d1856c8b39b1de8af230f73d138db647848 /scripts/checkpatch.pl | |
parent | Merge tag 'kbuild-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mas... (diff) | |
parent | kbuild: create deterministic initramfs directory listings (diff) | |
download | linux-16ffc4c39415e62c1d027d1bc59ee28e267d59f2.tar.xz linux-16ffc4c39415e62c1d027d1bc59ee28e267d59f2.zip |
Merge tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull misc Kbuild updates from Masahiro Yamada:
- Use more portable shebang for Perl scripts
- Remove trailing spaces from GCC version in kernel log
- Make initramfs generation deterministic
* tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
kbuild: create deterministic initramfs directory listings
scripts/mkcompile_h: Remove trailing spaces from compiler version
scripts: Switch to more portable Perl shebang
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # (c) 2001, Dave Jones. (the file handling bit) # (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit) # (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite) @@ -6,6 +6,7 @@ # Licensed under the terms of the GNU GPL License version 2 use strict; +use warnings; use POSIX; use File::Basename; use Cwd 'abs_path'; |