Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 24 Jul 2002 04:12:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 24 Jul 2002 04:12:16 -0400 Received: from moutvdom.kundenserver.de ([195.20.224.149]:13294 "EHLO moutvdomng2.kundenserver.de") by vger.kernel.org with ESMTP id ; Wed, 24 Jul 2002 04:12:15 -0400 Date: Wed, 24 Jul 2002 02:15:19 -0600 (MDT) From: Thunder from the hill X-X-Sender: thunder@hawkeye.luckynet.adm To: Sam Ravnborg cc: Linux Kernel Mailing List Subject: Re: DocBook - kernel-doc error messages In-Reply-To: <20020723211424.A9242@mars.ravnborg.org> Message-ID: X-Location: Dorndorf; Germany MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1768 Lines: 44 Hi, On Tue, 23 Jul 2002, Sam Ravnborg wrote: > Use of uninitialized value in string ne at scripts/kernel-doc line 641, line 247. > Use of uninitialized value in string ne at scripts/kernel-doc line 661, line 247. > Use of uninitialized value in join or string at scripts/kernel-doc line 363, 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 " \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 " \n"; foreach $parameter (@{$args{'parameterlist'}}) { + defined($args{'parameterdescs'}{$parameter}) || next; ($args{'parameterdescs'}{$parameter} ne $undescribed) || next; print " "; print " $parameter\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/