Skip to content

Commit

Permalink
Documentation: PCI: Use code-block block for scratchpad registers dia…
Browse files Browse the repository at this point in the history
…gram

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: 0c4b285 ("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>
  • Loading branch information
Bagas Sanjaya authored and Jon Mason committed Aug 9, 2022
1 parent 4ac8c8e commit e9ac6e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/PCI/endpoint/pci-vntb-function.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
| |
Expand Down

0 comments on commit e9ac6e3

Please sign in to comment.