mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
177525d26e
commit
6088e9ffa2
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue