Skip to content

Commit b2df55a

Browse files
djbwdavejiang
authored andcommitted
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: 857d18f ("cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks") Reported-by: Stephen Rothwell <[email protected]> Closes: http://lore.kernel.org/[email protected] Signed-off-by: Dan Williams <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
1 parent b873adf commit b2df55a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/linux/cleanup.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
* the remainder of "func()".
6565
*
6666
* The ACQUIRE() macro can be used in all places that guard() can be
67-
* used and additionally support conditional locks
68-
*
67+
* used and additionally support conditional locks::
6968
*
7069
* DEFINE_GUARD_COND(pci_dev, _try, pci_dev_trylock(_T))
7170
* ...

0 commit comments

Comments
 (0)