Re: [PATCH v3] kernel-doc: Added "*" in $type_constants2 to fix 'make htmldocs' warning.
From: Jonathan Corbet
Date: Tue May 07 2024 - 10:25:15 EST
Utkarsh Tripathi <utripathi2002@xxxxxxxxx> writes:
> Fixed: WARNING: Inline literal start-string without end-string in
> Documentation/core-api/workqueue.rst
>
> Added "*" in $type_constants2 in kernel-doc script to include "*" in the
> conversion to hightlights.
> Previously: %WQ_* --> ``WQ_``*
> After Changes: %WQ_* --> ``WQ_*``
> Need for the fix: ``* is not recognized as a valid end-string for inline literal.
>
>> The kernel-doc script uses the $type_constant2 variable to match
>> expressions used to find embedded type information.
I've applied this. I made a changelog tweak, in that this line:
> v1 and v2 discussions: https://lore.kernel.org/linux-doc/640114d2-5780-48c3-a294-c0eba230f984@xxxxxxxxx
..should really just be a Link: tag rather than something special.
Thanks,
jon