Re: [PATCH] mm: slub: Wrap krealloc() __GFP_ZERO semantics diagram in literal code block

From: Bagas Sanjaya
Date: Tue Jun 10 2025 - 18:54:57 EST


On Tue, Jun 10, 2025 at 11:20:14PM +0900, Harry Yoo wrote:
> On Tue, Jun 10, 2025 at 04:21:53PM +0700, Bagas Sanjaya wrote:
> > Sphinx reports htmldocs warnings:
> >
> > Documentation/core-api/mm-api:40: ./mm/slub.c:4936: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
> > Documentation/core-api/mm-api:40: ./mm/slub.c:4936: ERROR: Undefined substitution referenced: "--------". [docutils]
> >
> > Fix the warning by wrapping krealloc() semantics diagram for __GFP_ZERO
> > in literal code block.
> >
> > Fixes: 489a744e5fb1 ("mm: krealloc: clarify valid usage of __GFP_ZERO")
> > Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
> > ---
>
> Hmm not sure what I am missing, but neither `make htmldocs` on my machine
> nor docs.kernel.org [1] list kerneldoc for *_noprof() functions properly
> (which should have been listed), so no errors show up...
>
> [1] https://docs.kernel.org/core-api/mm-api.html

I was encountering the warnings on docs-next (see MAINTAINERS), something that
I forget to mention when posting this patch.

Thanks.

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature