Skip to contentSkip to conversation

linux-next: build warning after merge of the cxl tree

PATCH Applied Stephen Rothwell 4 participants 4 messages Jul 17, 2025 – Jul 18, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the cxl tree, today's linux-next build (htmldocs) produced this warning:

Documentation/core-api/cleanup:7: include/linux/cleanup.h:73: ERROR: Unexpected indentation. [docutils] Documentation/core-api/cleanup:7: include/linux/cleanup.h:74: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Introduced by commit

857d18f23ab1 ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

PATCH 1/1 cleanup: Fix documentation build error for ACQUIRE updates

Stephen reports:

Documentation/core-api/cleanup:7: include/linux/cleanup.h:73: ERROR: Unexpected indentation. [docutils] Documentation/core-api/cleanup:7: include/linux/cleanup.h:74: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Which points out that the ACQUIRE() example in cleanup.h missed the "::" suffix to mark the following text as a code-block.

Fixes 857d18f23ab1 ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks")
---
 include/linux/cleanup.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/cleanup.h +1 -2
index 4eb83dd71cfe..0fb796db4811 100644
@@ -64,8 +64,7 @@
  * the remainder of "func()".
  *
  * The ACQUIRE() macro can be used in all places that guard() can be
- * used and additionally support conditional locks
- *
+ * used and additionally support conditional locks::
  *
  *	DEFINE_GUARD_COND(pci_dev, _try, pci_dev_trylock(_T))
  *	...

base-commit: 857d18f23ab17284d1b6de6f61f4e74958596376

Signature · 1 line
2.50.1
Applied
#2 lore raw

Re: [PATCH] cleanup: Fix documentation build error for ACQUIRE updates

Quoted 5 lines · Dan Williams

Stephen reports:

Documentation/core-api/cleanup:7: include/linux/cleanup.h:73: ERROR: Unexpected indentation. [docutils] Documentation/core-api/cleanup:7: include/linux/cleanup.h:74: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Quoted 7 lines

Which points out that the ACQUIRE() example in cleanup.h missed the "::" suffix to mark the following text as a code-block.

Fixes 857d18f23ab1 ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks")

Applied to cxl/next
d07b0029a1734062a14466100165994bef2839cf

Quoted 20 lines
---
 include/linux/cleanup.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/cleanup.h +1 -2
index 4eb83dd71cfe..0fb796db4811 100644
@@ -64,8 +64,7 @@
  * the remainder of "func()".
  *
  * The ACQUIRE() macro can be used in all places that guard() can be
- * used and additionally support conditional locks
- *
+ * used and additionally support conditional locks::
  *
  *	DEFINE_GUARD_COND(pci_dev, _try, pci_dev_trylock(_T))
  *	...

base-commit: 857d18f23ab17284d1b6de6f61f4e74958596376

Acked-by Tested-by on v1 1/1
#3 lore raw

Re: [PATCH] cleanup: Fix documentation build error for ACQUIRE updates

In reply to Dan Williams
Quoted 5 lines · Dan Williams

Stephen reports:

Documentation/core-api/cleanup:7: include/linux/cleanup.h:73: ERROR: Unexpected indentation. [docutils] Documentation/core-api/cleanup:7: include/linux/cleanup.h:74: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]

Quoted 7 lines

Which points out that the ACQUIRE() example in cleanup.h missed the "::" suffix to mark the following text as a code-block.

Fixes 857d18f23ab1 ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks")

Thanks.

Quoted 20 lines
---
 include/linux/cleanup.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/cleanup.h +1 -2
index 4eb83dd71cfe..0fb796db4811 100644
@@ -64,8 +64,7 @@
  * the remainder of "func()".
  *
  * The ACQUIRE() macro can be used in all places that guard() can be
- * used and additionally support conditional locks
- *
+ * used and additionally support conditional locks::
  *
  *	DEFINE_GUARD_COND(pci_dev, _try, pci_dev_trylock(_T))
  *	...

base-commit: 857d18f23ab17284d1b6de6f61f4e74958596376

Signature · 1 line
~Randy