Re: [PATCH] scripts: kernel-doc: Check existence of FILE arg

From: Tomasz Warniełło
Date: Wed Feb 23 2022 - 08:47:49 EST


On Wed, 23 Feb 2022 15:07:30 +0900
Akira Yokosawa <akiyks@xxxxxxxxx> wrote:

> Currently, when no FILE argument is given following switches such
> as -man, -rst, and -none, kernel-doc ends up in the error of (long
> msg from perl folded):
>
> Use of uninitialized value $ARGV[0] in pattern match (m//)
> at ./scripts/kernel-doc line 438.

It's a warning not an error.