mm/doc: fix a literal block markup
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Sep 2020 11:29:25 +0000 (13:29 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 16 Oct 2020 05:28:20 +0000 (07:28 +0200)
Literal blocks with :: markup should be indented, as otherwise
Sphinx complains:

Documentation/vm/hmm.rst:363: WARNING: Literal block expected; none found.

Fixes: f7ebd9ed7767 ("mm/doc: add usage description for migrate_vma_*()")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/vm/hmm.rst

index dd9f76a..09e2850 100644 (file)
@@ -360,7 +360,7 @@ between device driver specific code and shared common code:
    system memory page, locks the page with ``lock_page()``, and fills in the
    ``dst`` array entry with::
 
-   dst[i] = migrate_pfn(page_to_pfn(dpage)) | MIGRATE_PFN_LOCKED;
+     dst[i] = migrate_pfn(page_to_pfn(dpage)) | MIGRATE_PFN_LOCKED;
 
    Now that the driver knows that this page is being migrated, it can
    invalidate device private MMU mappings and copy device private memory