]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
slub: Fix a documentation build error for krealloc()
authorJonathan Corbet <corbet@lwn.net>
Wed, 11 Jun 2025 15:59:08 +0000 (16:59 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 18 Jun 2025 11:06:26 +0000 (13:06 +0200)
commite8a45f198e3ae2434108f815bc28f37f6fe6742b
tree1aa1995d7dc9ee827089e568c8d2db1605039b05
parent3df29914d9fd1a28ff0630ad5aa8a92abb97543d
slub: Fix a documentation build error for krealloc()

The kerneldoc comment for krealloc() contains an unmarked literal block,
leading to these warnings in the docs build:

  ./mm/slub.c:4936: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
  ./mm/slub.c:4936: ERROR: Undefined substitution referenced: "--------". [docutils]

Mark up and indent the block properly to bring a bit of peace to our build
logs.

Fixes: 489a744e5fb1 (mm: krealloc: clarify valid usage of __GFP_ZERO)
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20250611155916.2579160-6-willy@infradead.org
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c