Skip to content
Browse files

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>
  • Loading branch information...
1 parent 177525d commit 6088e9ffa29a92e7b80fdba44929f3225c4c0357 @pefoley2 pefoley2 committed with michal42 Apr 26, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 scripts/checkversion.pl
View
1 scripts/checkversion.pl
@@ -12,6 +12,7 @@
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";

0 comments on commit 6088e9f

Please sign in to comment.
Something went wrong with that request. Please try again.