[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191122115337.1541-1-federico.vaga@vaga.pv.it>
Date: Fri, 22 Nov 2019 12:53:37 +0100
From: Federico Vaga <federico.vaga@...a.pv.it>
To: Jonathan Corbet <corbet@....net>
Cc: linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
Federico Vaga <federico.vaga@...a.pv.it>
Subject: [PATCH] doc: fix reference to core-api/namespaces.rst
This patch:
commit fcfacb9f8374 ("doc: move namespaces.rst from kbuild/ to core-api/")
forgot to update the document kernel-hacking/hacking.rst.
In addition to the fix the path now is a cross-reference to the document.
Signed-off-by: Federico Vaga <federico.vaga@...a.pv.it>
---
Documentation/core-api/symbol-namespaces.rst | 2 ++
Documentation/kernel-hacking/hacking.rst | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/core-api/symbol-namespaces.rst b/Documentation/core-api/symbol-namespaces.rst
index 982ed7b568ac..6791f8a5d726 100644
--- a/Documentation/core-api/symbol-namespaces.rst
+++ b/Documentation/core-api/symbol-namespaces.rst
@@ -1,3 +1,5 @@
+.. _core-api-namespace:
+
=================
Symbol Namespaces
=================
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index a3ddb213a5e1..107c8fd3f6c0 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -601,7 +601,7 @@ Defined in ``include/linux/export.h``
This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol
namespace. Symbol Namespaces are documented in
-``Documentation/kbuild/namespaces.rst``.
+:ref:`Documentation/core-api/symbol-namespaces.rst <core-api-namespace>`.
:c:func:`EXPORT_SYMBOL_NS_GPL()`
--------------------------------
@@ -610,7 +610,7 @@ Defined in ``include/linux/export.h``
This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol
namespace. Symbol Namespaces are documented in
-``Documentation/kbuild/namespaces.rst``.
+:ref:`Documentation/core-api/symbol-namespaces.rst <core-api-namespace>`.
Routines and Conventions
========================
--
2.21.0
Powered by blists - more mailing lists