Re: [PATCH] scripts: kernel-doc: Disambiguate origin of warnings

From: Kees Cook
Date: Thu Dec 14 2023 - 20:00:20 EST


On Thu, Dec 14, 2023 at 04:19:34PM -0800, Randy Dunlap wrote:
>
>
> On 12/14/23 16:15, Kees Cook wrote:
> > There's no prefix to warnings and errors reported by scripts/kernel-doc
> > which makes it frustrating to isolate errors reported from CI systems.
> > Add a "$0: " prefix to all the STDERR output.
> >
> > Cc: Jonathan Corbet <corbet@xxxxxxx>
> > Cc: linux-doc@xxxxxxxxxxxxxxx
> > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> Matthew's reply to my patch with similar functionality, which I agree with:
>
> https://lore.kernel.org/linux-doc/ZQke26HX9Am3k2sh@xxxxxxxxxxxxxxxxxxxx/

I guess that's true, but it's really confusing to figure out if it's
kernel-doc or Sphinx reporting errors. Ah well! I can live without it.

-Kees

--
Kees Cook