aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2019-05-22 19:41:45 (GMT)
committerJonathan Corbet <corbet@lwn.net>2019-05-23 15:27:39 (GMT)
commitf35a1abd9e7a0d37a1bcc1149eaf2aa737d7ea21 (patch)
tree7948cbf142621336d4e21394bda8464a0047d429 /lib
parent8867f6109b84f50d959af2b26440a7faacc7633a (diff)
downloadkernel_replicant_linux-f35a1abd9e7a0d37a1bcc1149eaf2aa737d7ea21.zip
kernel_replicant_linux-f35a1abd9e7a0d37a1bcc1149eaf2aa737d7ea21.tar.gz
kernel_replicant_linux-f35a1abd9e7a0d37a1bcc1149eaf2aa737d7ea21.tar.bz2
lib/list_sort: fix kerneldoc build error
Commit 043b3f7b6388 ("lib/list_sort: simplify and remove MAX_LIST_LENGTH_BITS") added some useful kerneldoc info, but also broke the docs build: ./lib/list_sort.c:128: WARNING: Definition list ends without a blank line; unexpected unindent. ./lib/list_sort.c:161: WARNING: Unexpected indentation. ./lib/list_sort.c:162: WARNING: Block quote ends without a blank line; unexpected unindent. Fix the offending literal block and make the error go away. Fixes: 043b3f7b6388 ("lib/list_sort: simplify and remove MAX_LIST_LENGTH_BITS") Cc: George Spelvin <lkml@sdf.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/list_sort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/list_sort.c b/lib/list_sort.c
index 06e900c..712ed1f 100644
--- a/lib/list_sort.c
+++ b/lib/list_sort.c
@@ -120,7 +120,8 @@ static void merge_final(void *priv, cmp_func cmp, struct list_head *head,
* The latter offers a chance to save a few cycles in the comparison
* (which is used by e.g. plug_ctx_cmp() in block/blk-mq.c).
*
- * A good way to write a multi-word comparison is
+ * A good way to write a multi-word comparison is::
+ *
* if (a->high != b->high)
* return a->high > b->high;
* if (a->middle != b->middle)