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

From: Jonathan Corbet

Date: Mon Aug 03 2026 - 14:46:30 EST


Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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 <rdunlap@xxxxxxxxxxxxx>
> ---
> Cc: Jonathan Corbet <corbet@xxxxxxx>
> Cc: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Cc: linux-doc@xxxxxxxxxxxxxxx
>
> tools/lib/python/kdoc/kdoc_parser.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

jon