Re: [PATCH] docs: kdoc_parser: drop extraneous blank line in warning message

Jonathan Corbet <[email protected]> Mon, 03 Aug 2026 12:17:26 -0600
Newsgroups org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Randy Dunlap <[email protected]> writes:

> Drop an extra newline (blank line) on warning messages for (2 places):
>   expecting prototype for typedef. Prototype was for typedef {symbol}
>     instead
> and
>   expecting prototype for {struct|union}. Prototype was for struct|union
>     {symbol} instead
>
> This makes these messages consistent with the similar enum warning,
> which has no extra blank line.
>
> Signed-off-by: Randy Dunlap <[email protected]>
> ---
> Cc: Jonathan Corbet <[email protected]>
> Cc: Shuah Khan <[email protected]>
> Cc: Mauro Carvalho Chehab <[email protected]>
> Cc: [email protected]
>
>  tools/lib/python/kdoc/kdoc_parser.py |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

jon