git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts/get_maintainer.pl: using --separator implies --nomultiline
[safe/jmp/linux-2.6]
/
scripts
/
checkversion.pl
diff --git
a/scripts/checkversion.pl
b/scripts/checkversion.pl
index
df10db6
..
ec7d211
100755
(executable)
--- a/
scripts/checkversion.pl
+++ b/
scripts/checkversion.pl
@@
-1,9
+1,9
@@
#! /usr/bin/perl
#
#! /usr/bin/perl
#
-# checkversion find uses of LINUX_VERSION_CODE
, KERNEL_VERSION, or
-#
UTS_RELEASE
without including <linux/version.h>, or cases of
+# checkversion find uses of LINUX_VERSION_CODE
or KERNEL_VERSION
+# without including <linux/version.h>, or cases of
# including <linux/version.h> that don't need it.
# including <linux/version.h> that don't need it.
-# Copyright (C) 2003, Randy Dunlap <rd
dunlap@osdl.org
>
+# Copyright (C) 2003, Randy Dunlap <rd
unlap@xenotime.net
>
$| = 1;
$| = 1;
@@
-41,8
+41,7
@@
foreach $file (@ARGV)
}
# Look for uses: LINUX_VERSION_CODE, KERNEL_VERSION, UTS_RELEASE
}
# Look for uses: LINUX_VERSION_CODE, KERNEL_VERSION, UTS_RELEASE
- if (($_ =~ /LINUX_VERSION_CODE/) || ($_ =~ /\WKERNEL_VERSION/) ||
- ($_ =~ /UTS_RELEASE/)) {
+ if (($_ =~ /LINUX_VERSION_CODE/) || ($_ =~ /\WKERNEL_VERSION/)) {
$fUseVersion = 1;
last LINE if $iLinuxVersion;
}
$fUseVersion = 1;
last LINE if $iLinuxVersion;
}