summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-04-27 01:07:56 +0200
committerMichal Marek <mmarek@suse.cz>2011-04-29 15:38:55 +0200
commit6088e9ffa29a92e7b80fdba44929f3225c4c0357 (patch)
tree7da729c190e4aeae0c815de48f61c24b11dcda64
parenteradicate bashisms in scripts/patch-kernel (diff)
downloadlinux-6088e9ffa29a92e7b80fdba44929f3225c4c0357.tar.xz
linux-6088e9ffa29a92e7b80fdba44929f3225c4c0357.zip
kbuild: don't warn about include/linux/version.h not including itself
This patch makes checkversion.pl not warn that include/linux/version.h dosen't include itself. Signed-off-by: Peter Foley <pefoley2@verizon.net> [mmarek: simplified to use 'next if' syntax] Signed-off-by: Michal Marek <mmarek@suse.cz>
-rwxr-xr-xscripts/checkversion.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl
index b444e89a0095..5e490a8ceca5 100755
--- a/scripts/checkversion.pl
+++ b/scripts/checkversion.pl
@@ -12,6 +12,7 @@ $| = 1;
my $debugging;
foreach my $file (@ARGV) {
+ next if $file =~ "include/linux/version\.h";
# Open this file.
open( my $f, '<', $file )
or die "Can't open $file: $!\n";