[PATCH 2/5] Documentation: virtio: Fix virtio reference

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Apr 1 07:46:13 BST 2021


From: Ahmad Fatoum <ahmad at a3f.at>

Sphinx complains, probably, because _virtio is used for footnote in
the same document. Rename it to fix the reference.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 Documentation/boards/riscv.rst | 2 +-
 Documentation/user/virtio.rst  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst
index 049029b4f23d..59cdc00a99e6 100644
--- a/Documentation/boards/riscv.rst
+++ b/Documentation/boards/riscv.rst
@@ -9,7 +9,7 @@ barebox supports both the qemu riscv32 and riscv64 ``-M virt`` boards::
   make ARCH=riscv virt64_defconfig
   qemu-system-riscv64 -M virt -serial stdio -kernel build/images/barebox-dt-2nd.img
 
-Replace ``64`` by ``32`` for 32-bit build. :ref:`virtio` over MMIO is supported and
+Replace ``64`` by ``32`` for 32-bit build. :ref:`virtio_sect` over MMIO is supported and
 can be used for e.g. an extra console or to pass in a virtio-blk device::
 
   qemu-system-riscv64 -M virt -serial stdio                                \
diff --git a/Documentation/user/virtio.rst b/Documentation/user/virtio.rst
index fb21869807e0..dde47d5f82b1 100644
--- a/Documentation/user/virtio.rst
+++ b/Documentation/user/virtio.rst
@@ -4,7 +4,7 @@
   Copyright (C) 2018, Bin Meng <bmeng.cn at gmail.com>
   Copyright (C) 2021, Ahmad Fatoum
 
-.. _virtio:
+.. _virtio_sect:
 
 VirtIO Support
 ==============
-- 
2.29.2




More information about the barebox mailing list