Messages in this thread Patch in this message | | | Date | Wed, 24 Jul 2002 02:15:19 -0600 (MDT) | From | Thunder from the hill <> | Subject | Re: 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/
| |