[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DB4B1F9.5040805@verizon.net>
Date: Sun, 24 Apr 2011 19:27:53 -0400
From: Peter Foley <pefoley2@...izon.net>
To: <linux-kernel@...r.kernel.org>
CC: <linux-kbuild@...r.kernel.org>, <mmarek@...e.cz>
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@...izon.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists