lkml.org 
[lkml]   [2011]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kbuild: don't warn about 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>
---
scripts/checkversion.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl
index b444e89..b9150c7 100755
--- a/scripts/checkversion.pl
+++ b/scripts/checkversion.pl
@@ -47,7 +47,7 @@ foreach my $file (@ARGV) {
}

# Report used version IDs without include?
- if ($fUseVersion && ! $iLinuxVersion) {
+ if ($fUseVersion && ! $iLinuxVersion && $file !~ "include/linux/version.h") {
print "$file: $.: need linux/version.h\n";
}

--
1.7.5.rc1


\
 
 \ /
  Last update: 2011-04-25 01:31    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean