summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2022-06-22 16:53:44 +0700
committerJon Mason <jdmason@kudzu.us>2022-08-09 17:54:12 -0400
commite9ac6e335dc72cd1296d06e20a7c8bbff8ca19d3 (patch)
tree799fbe3408765c6c7f1a4a821e945fb25b84c3ce
parent4ac8c8e52cd915c7efbd60f1eab4afe855f2e7c4 (diff)
downloadlwn-e9ac6e335dc72cd1296d06e20a7c8bbff8ca19d3.tar.gz
lwn-e9ac6e335dc72cd1296d06e20a7c8bbff8ca19d3.zip
Documentation: PCI: Use code-block block for scratchpad registers diagram
The diagram in "Scratchpad Registers" isn't formatted inside code block, hence triggers indentation warning: Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected indentation. Fix the warning by using code-block directive to format the diagram inside code block, as in other diagrams in Documentation/. While at it, unindent the preceeding text. Link: https://lore.kernel.org/linux-next/20220621200235.211b2e32@canb.auug.org.au/ Fixes: 0c4b285d9636cc ("Documentation: PCI: Add specification for the PCI vNTB function device") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: "Krzysztof Wilczyński" <kw@linux.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Frank Li <Frank.Li@nxp.com> Cc: linux-pci@vger.kernel.org Cc: linux-next@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
-rw-r--r--Documentation/PCI/endpoint/pci-vntb-function.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/PCI/endpoint/pci-vntb-function.rst b/Documentation/PCI/endpoint/pci-vntb-function.rst
index cad8013e8839..0c51f53ab972 100644
--- a/Documentation/PCI/endpoint/pci-vntb-function.rst
+++ b/Documentation/PCI/endpoint/pci-vntb-function.rst
@@ -58,7 +58,10 @@ It is same as PCI NTB Function driver
Scratchpad Registers:
---------------------
- It is appended after Config region.
+It is appended after Config region.
+
+.. code-block:: text
+
+--------------------------------------------------+ Base
| |