* linux-next: build warning after merge of the cxl tree
@ 2025-07-17 7:33 Stephen Rothwell
2025-07-17 16:30 ` [PATCH] cleanup: Fix documentation build error for ACQUIRE updates Dan Williams
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2025-07-17 7:33 UTC (permalink / raw)
To: Dan Williams
Cc: Dave Jiang, Peter Zijlstra, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
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")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] cleanup: Fix documentation build error for ACQUIRE updates
2025-07-17 7:33 linux-next: build warning after merge of the cxl tree Stephen Rothwell
@ 2025-07-17 16:30 ` Dan Williams
2025-07-17 17:12 ` Dave Jiang
2025-07-18 2:47 ` Randy Dunlap
0 siblings, 2 replies; 4+ messages in thread
From: Dan Williams @ 2025-07-17 16:30 UTC (permalink / raw)
To: dave.jiang; +Cc: linux-kernel, peterz, linux-next, Stephen Rothwell
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")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: http://lore.kernel.org/20250717173354.34375751@canb.auug.org.au
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
include/linux/cleanup.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/cleanup.h b/include/linux/cleanup.h
index 4eb83dd71cfe..0fb796db4811 100644
--- a/include/linux/cleanup.h
+++ b/include/linux/cleanup.h
@@ -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
--
2.50.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] cleanup: Fix documentation build error for ACQUIRE updates
2025-07-17 16:30 ` [PATCH] cleanup: Fix documentation build error for ACQUIRE updates Dan Williams
@ 2025-07-17 17:12 ` Dave Jiang
2025-07-18 2:47 ` Randy Dunlap
1 sibling, 0 replies; 4+ messages in thread
From: Dave Jiang @ 2025-07-17 17:12 UTC (permalink / raw)
To: Dan Williams
Cc: linux-kernel, peterz, linux-next, Stephen Rothwell,
linux-cxl@vger.kernel.org
On 7/17/25 9:30 AM, Dan Williams wrote:
> 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")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: http://lore.kernel.org/20250717173354.34375751@canb.auug.org.au
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Applied to cxl/next
d07b0029a1734062a14466100165994bef2839cf
> ---
> include/linux/cleanup.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/linux/cleanup.h b/include/linux/cleanup.h
> index 4eb83dd71cfe..0fb796db4811 100644
> --- a/include/linux/cleanup.h
> +++ b/include/linux/cleanup.h
> @@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cleanup: Fix documentation build error for ACQUIRE updates
2025-07-17 16:30 ` [PATCH] cleanup: Fix documentation build error for ACQUIRE updates Dan Williams
2025-07-17 17:12 ` Dave Jiang
@ 2025-07-18 2:47 ` Randy Dunlap
1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2025-07-18 2:47 UTC (permalink / raw)
To: Dan Williams, dave.jiang
Cc: linux-kernel, peterz, linux-next, Stephen Rothwell
On 7/17/25 9:30 AM, Dan Williams wrote:
> 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")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: http://lore.kernel.org/20250717173354.34375751@canb.auug.org.au
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> include/linux/cleanup.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/linux/cleanup.h b/include/linux/cleanup.h
> index 4eb83dd71cfe..0fb796db4811 100644
> --- a/include/linux/cleanup.h
> +++ b/include/linux/cleanup.h
> @@ -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
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-07-18 2:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-17 7:33 linux-next: build warning after merge of the cxl tree Stephen Rothwell
2025-07-17 16:30 ` [PATCH] cleanup: Fix documentation build error for ACQUIRE updates Dan Williams
2025-07-17 17:12 ` Dave Jiang
2025-07-18 2:47 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).