]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation: dma-buf: heaps: Fix code markup
authorJared Kangas <jkangas@redhat.com>
Tue, 10 Jun 2025 13:12:29 +0000 (06:12 -0700)
committerSumit Semwal <sumit.semwal@linaro.org>
Wed, 9 Jul 2025 10:21:39 +0000 (15:51 +0530)
Code snippets should be wrapped in double backticks to follow
reStructuredText semantics; the use of single backticks uses the
:title-reference: role by default, which isn't quite what we want.
Add double backticks to code snippets to fix this.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Jared Kangas <jkangas@redhat.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://lore.kernel.org/r/20250610131231.1724627-2-jkangas@redhat.com
Documentation/userspace-api/dma-buf-heaps.rst

index 535f49047ce6450796bf4380c989e109355efc05..23bd0bd7b06540cda1c24ec3fbfd13359f78ab06 100644 (file)
@@ -19,7 +19,7 @@ following heaps:
  - The ``cma`` heap allocates physically contiguous, cacheable,
    buffers. Only present if a CMA region is present. Such a region is
    usually created either through the kernel commandline through the
-   `cma` parameter, a memory region Device-Tree node with the
-   `linux,cma-default` property set, or through the `CMA_SIZE_MBYTES` or
-   `CMA_SIZE_PERCENTAGE` Kconfig options. Depending on the platform, it
+   ``cma`` parameter, a memory region Device-Tree node with the
+   ``linux,cma-default`` property set, or through the ``CMA_SIZE_MBYTES`` or
+   ``CMA_SIZE_PERCENTAGE`` Kconfig options. Depending on the platform, it
    might be called ``reserved``, ``linux,cma``, or ``default-pool``.