lkml.org 
[lkml]   [2002]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: DocBook - kernel-doc error messages
Hi,

On Tue, 23 Jul 2002, Sam Ravnborg wrote:
> Use of uninitialized value in string ne at scripts/kernel-doc line 641, <IN> line 247.
> Use of uninitialized value in string ne at scripts/kernel-doc line 661, <IN> line 247.
> Use of uninitialized value in join or string at scripts/kernel-doc line 363, <IN> line 247.

This one fixes it for me:

--- linus-2.5/scripts/kernel-doc 2002-07-16 10:02:12.000000000 -0600
+++ thunder-2.5/scripts/kernel-doc 2002-07-24 02:13:54.000000000 -0600
@@ -638,6 +638,7 @@
print " <programlisting>\n";
print $args{'type'}." ".$args{'struct'}." {\n";
foreach $parameter (@{$args{'parameterlist'}}) {
+ defined($args{'parameterdescs'}{$parameter}) || next;
($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
$type = $args{'parametertypes'}{$parameter};
if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
@@ -658,6 +659,7 @@

print " <variablelist>\n";
foreach $parameter (@{$args{'parameterlist'}}) {
+ defined($args{'parameterdescs'}{$parameter}) || next;
($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
print " <varlistentry>";
print " <term>$parameter</term>\n";
Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.030 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site