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

From: Akira Yokosawa
Date: Wed Feb 23 2022 - 08:59:10 EST


On Wed, 23 Feb 2022 14:47:13 +0100,
Tomasz Warniełło wrote:
> 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.

Good catch!

Will amend in v2 with proper attribution.

Thanks Akira