lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 24 Feb 2022 12:15:15 -0700 From: Jonathan Corbet <corbet@....net> To: Akira Yokosawa <akiyks@...il.com>, Tomasz Warniełło <tomasz.warniello@...il.com> Cc: Randy Dunlap <rdunlap@...radead.org>, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2] docs: scripts/kernel-doc: Detect absence of FILE arg Akira Yokosawa <akiyks@...il.com> writes: > Currently, when there is no FILE argument following a switch such > as -man, -rst, or -none, kernel-doc exits with a warning from perl > (long msg folded): > > Use of uninitialized value $ARGV[0] in pattern match (m//) > at ./scripts/kernel-doc line 438. > > , which is unhelpful. > > Improve the behavior by adding a check at the bottom of parsing > loop. > If the argument is absent, display help text and exit with > the code of 1 (via usage()). As might be expected, this applied poorly after the pod patches went in. I went ahead and resolved the conflict, substituting an appropriate pod2usage() call. Thanks, jon
Powered by blists - more mailing lists