[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e0b30586-3f30-4ec4-9231-51c4e1baadd3@infradead.org>
Date: Wed, 5 Nov 2025 16:48:36 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/1] kernel-doc: Issue warnings that were silently
discarded
On 11/5/25 1:19 PM, Mauro Carvalho Chehab wrote:
>
> No objection of this one, but this breaks the behavior of the -W
> flags.
>
> See, the way kernel-doc.pl worked is that:
>
> 1. Warnings are controlled via several -W flags:
>
> -Wreturn, --wreturn Warns about the lack of a return markup on functions.
> -Wshort-desc, -Wshort-description, --wshort-desc
> Warns if initial short description is missing
>
> This option is kept just for backward-compatibility, but it does nothing,
> neither here nor at the original Perl script.
FWIW, it did output warnings once upon a time (the Perl script version).
I don't know what happened to it.
> -Wall, --wall Enable all types of warnings
> -Werror, --werror Treat warnings as errors.
>
> Those affect running kernel-doc manually.
--
~Randy
Powered by blists - more mailing lists