projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177525d
)
kbuild: don't warn about include/linux/version.h not including itself
author
Peter Foley
<pefoley2@verizon.net>
Tue, 26 Apr 2011 23:07:56 +0000
(19:07 -0400)
committer
Michal Marek
<mmarek@suse.cz>
Fri, 29 Apr 2011 13:38:55 +0000
(15:38 +0200)
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>
scripts/checkversion.pl
patch
|
blob
|
blame
|
history
diff --git
a/scripts/checkversion.pl
b/scripts/checkversion.pl
index b444e89a0095dc16d207fb23a7600a148c67834b..5e490a8ceca5582e3003890cf34a21c33447969f 100755
(executable)
--- 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";