Skip to content

Commit

Permalink
kbuild: don't warn about include/linux/version.h not including itself
Browse files Browse the repository at this point in the history
This patch makes checkversion.pl not warn that include/linux/version.h
dosen't include itself.

Signed-off-by: Peter Foley <[email protected]>
[mmarek: simplified to use 'next if' syntax]
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
pefoley2 authored and michal42 committed Apr 29, 2011
1 parent 177525d commit 6088e9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/checkversion.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 6088e9f

Please sign in to comment.