From: Peter Foley <pefoley2@verizon.net>
To: linux-kernel@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org, Michal Marek <mmarek@suse.cz>
Subject: [PATCH V2] kbuild: don't warn about include/linux/version.h not including itself
Date: Tue, 26 Apr 2011 19:07:56 -0400 [thread overview]
Message-ID: <4DB7504C.6060507@verizon.net> (raw)
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 | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/checkversion.pl b/scripts/checkversion.pl
index b444e89..cf4b1dc 100755
--- a/scripts/checkversion.pl
+++ b/scripts/checkversion.pl
@@ -12,6 +12,8 @@ $| = 1;
my $debugging;
foreach my $file (@ARGV) {
+ if($file !~ "include/linux/version\.h")
+ {
# Open this file.
open( my $f, '<', $file )
or die "Can't open $file: $!\n";
@@ -67,4 +69,5 @@ foreach my $file (@ARGV) {
}
close($f);
+ }
}
--
1.7.5.rc1
next reply other threads:[~2011-04-26 23:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-26 23:07 Peter Foley [this message]
2011-04-29 13:47 ` [PATCH V2] kbuild: don't warn about include/linux/version.h not including itself Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB7504C.6060507@verizon.net \
--to=pefoley2@verizon.net \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox