summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobin C. Harding <tobin@kernel.org>2019-01-31 15:06:23 +1100
committerJonathan Corbet <corbet@lwn.net>2019-02-01 16:04:01 -0700
commitcd7198fc959e9ce6a90148b0ab7338b1a8b7c17e (patch)
treecfc2396390549dc9aed16ce411f58895e30dd222
parent11ede50059d0603e6ae2df5042cf813145ea5736 (diff)
downloadlinux-0-day-cd7198fc959e9ce6a90148b0ab7338b1a8b7c17e.tar.gz
linux-0-day-cd7198fc959e9ce6a90148b0ab7338b1a8b7c17e.tar.xz
docs: Use underscore not hyphen in label
sphinx emits warning WARNING: undefined label: memory-allocation ... This seems to be caused by the use of a hyphen in the label name instead of an underscore. Using an underscore for the label name and the reference clears the warning. Use underscore not hyphen in label and reference. Signed-off-by: Tobin C. Harding <tobin@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/core-api/memory-allocation.rst2
-rw-r--r--Documentation/vm/index.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/core-api/memory-allocation.rst b/Documentation/core-api/memory-allocation.rst
index 51a200d59f515..7744aa3bf2e0b 100644
--- a/Documentation/core-api/memory-allocation.rst
+++ b/Documentation/core-api/memory-allocation.rst
@@ -1,4 +1,4 @@
-.. _memory-allocation:
+.. _memory_allocation:
=======================
Memory Allocation Guide
diff --git a/Documentation/vm/index.rst b/Documentation/vm/index.rst
index 2b3ab3a1ccf30..b58cc3bfe7771 100644
--- a/Documentation/vm/index.rst
+++ b/Documentation/vm/index.rst
@@ -4,7 +4,7 @@ Linux Memory Management Documentation
This is a collection of documents about the Linux memory management (mm)
subsystem. If you are looking for advice on simply allocating memory,
-see the :ref:`memory-allocation`.
+see the :ref:`memory_allocation`.
User guides for MM features
===========================