aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index e4fa8d9568ba..8cf528b5e65a 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -334,7 +334,7 @@ while ($ARGV[0] =~ m/^-(.*)/) {
334 334
335# get kernel version from env 335# get kernel version from env
336sub get_kernel_version() { 336sub get_kernel_version() {
337 my $version; 337 my $version = 'unknown kernel version';
338 338
339 if (defined($ENV{'KERNELVERSION'})) { 339 if (defined($ENV{'KERNELVERSION'})) {
340 $version = $ENV{'KERNELVERSION'}; 340 $version = $ENV{'KERNELVERSION'};