]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
lib/list_sort: fix kerneldoc build error
authorJonathan Corbet <corbet@lwn.net>
Wed, 22 May 2019 19:41:45 +0000 (13:41 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 23 May 2019 15:27:39 +0000 (09:27 -0600)
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>
lib/list_sort.c

index 06e900c5587b20246f566064729835bb3267cec0..712ed1f4eb645e29344a339529398394b15fc2e5 100644 (file)
@@ -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)